<commit_before>/*=========================================================================
 
 Program:   openCherry Platform
 Language:  C++
 Date:      $Date$
 Version:   $Revision$
 
 Copyright (c) German Cancer Research Center, Division of Medical and
 Biological Informatics. All rights reserved.
 See MITKCopyright.txt or http://www.mitk.org/copyright.html for details.
 
 This software is distributed WITHOUT ANY WARRANTY; without even
 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.  See the above copyright notices for more information.
 
 =========================================================================*/

#ifndef CHERRYINTROPART_H_
#define CHERRYINTROPART_H_

#include "cherryIIntroPart.h"

#include "cherryIIntroSite.h"

#include <cherryIConfigurationElement.h>
#include <cherryImageDescriptor.h>
#include <cherryIExecutableExtension.h>
#include <cherryIPropertyChangeListener.h>

namespace cherry
{

/**
 * Abstract base implementation of an intro part.
 * <p>
 * Subclasses must implement the following methods:
 * <ul>
 * <li><code>CreatePartControl</code>- to create the intro part's controls
 * </li>
 * <li><code>SetFocus</code>- to accept focus</li>
 * <li><code>StandbyStateChanged</code>- to change the standby mode</li>
 * </ul>
 * </p>
 * <p>
 * Subclasses may extend or reimplement the following methods as required:
 * <ul>
 * <li><code>SetInitializationData</code>- extend to provide additional
 * initialization when the intro extension is instantiated</li>
 * <li><code>Init(IIntroSite::Pointer, IMemento::Pointer)</code>- extend to provide additional
 * initialization when intro is assigned its site</li>
 * <li><code>GetAdapter</code>- reimplement to make their intro adaptable
 * </li>
 * </ul>
 * </p>
 */
class IntroPart: public IIntroPart, public IExecutableExtension
{

private:

  IConfigurationElement::Pointer configElement;

  ImageDescriptor::Pointer imageDescriptor;

  IIntroSite::Pointer partSite;

  void* titleImage;

  std::string titleLabel;
<commit_msg>COMP: added missing dll export macro<commit_after>/*=========================================================================
 
 Program:   openCherry Platform
 Language:  C++
 Date:      $Date$
 Version:   $Revision$
 
 Copyright (c) German Cancer Research Center, Division of Medical and
 Biological Informatics. All rights reserved.
 See MITKCopyright.txt or http://www.mitk.org/copyright.html for details.
 
 This software is distributed WITHOUT ANY WARRANTY; without even
 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.  See the above copyright notices for more information.
 
 =========================================================================*/

#ifndef CHERRYINTROPART_H_
#define CHERRYINTROPART_H_

#include "cherryIIntroPart.h"

#include "cherryIIntroSite.h"

#include <cherryIConfigurationElement.h>
#include <cherryImageDescriptor.h>
#include <cherryIExecutableExtension.h>
#include <cherryIPropertyChangeListener.h>

namespace cherry
{

/**
 * Abstract base implementation of an intro part.
 * <p>
 * Subclasses must implement the following methods:
 * <ul>
 * <li><code>CreatePartControl</code>- to create the intro part's controls
 * </li>
 * <li><code>SetFocus</code>- to accept focus</li>
 * <li><code>StandbyStateChanged</code>- to change the standby mode</li>
 * </ul>
 * </p>
 * <p>
 * Subclasses may extend or reimplement the following methods as required:
 * <ul>
 * <li><code>SetInitializationData</code>- extend to provide additional
 * initialization when the intro extension is instantiated</li>
 * <li><code>Init(IIntroSite::Pointer, IMemento::Pointer)</code>- extend to provide additional
 * initialization when intro is assigned its site</li>
 * <li><code>GetAdapter</code>- reimplement to make their intro adaptable
 * </li>
 * </ul>
 * </p>
 */
class CHERRY_UI IntroPart: public IIntroPart, public IExecutableExtension
{

private:

  IConfigurationElement::Pointer configElement;

  ImageDescriptor::Pointer imageDescriptor;

  IIntroSite::Pointer partSite;

  void* titleImage;

  std::string titleLabel;

{'fraction_non_alphanumeric': 0.16929803254797182, 'fraction_numerical': 0.0, 'mean_word_length': 5.345146379044684, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5451125', 'n_tokens_mistral': 1171, 'n_tokens_neox': 1102, 'n_words': 358}