Changeset b53a7e


Ignore:
Timestamp:
Feb 18, 2010, 10:59:29 AM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
536380, a5471c
Parents:
120f8b
git-author:
Tillmann Crueger <crueger@…> (02/17/10 17:07:35)
git-committer:
Tillmann Crueger <crueger@…> (02/18/10 10:59:29)
Message:

Added a special class of Actions that take some time.

Location:
molecuilder/src
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/Actions/small_actions.hpp

    r120f8b rb53a7e  
    11// All rather small Actions should go into this file for simplicities sake
    22
     3#ifndef _SMALL_ACTIONS_HPP
     4#define _SMALL_ACTIONS_HPP
     5
    36#include "Actions/Action.hpp"
    4 
     7#include "Actions/Process.hpp"
    58
    69class MoleculeListClass;
     
    912public:
    1013  ChangeMoleculeNameAction(MoleculeListClass*);
    11   ~ChangeMoleculeNameAction();
     14  virtual ~ChangeMoleculeNameAction();
    1215
    1316  void call();
     
    2124  static char NAME[];
    2225};
     26
     27#endif // _SMALL_ACTIONS_HPP
  • molecuilder/src/Makefile.am

    r120f8b rb53a7e  
    88ANALYSISHEADER = analysis_bonds.hpp analysis_correlation.hpp
    99
    10 ACTIONSSOURCE = Actions/Action.cpp Actions/MethodAction.cpp Actions/ActionSequence.cpp Actions/MakroAction.cpp Actions/ErrorAction.cpp Actions/small_actions.cpp Actions/ActionRegistry.cpp
    11 ACTIONSHEADER = Actions/Action.hpp Actions/MethodAction.hpp Actions/ActionSequence.hpp Actions/MakroAction.hpp Actions/ErrorAction.hpp Actions/small_actions.hpp Actions/ActionRegistry.hpp
     10ACTIONSSOURCE = Actions/Action.cpp Actions/Process.cpp Actions/MethodAction.cpp Actions/ActionSequence.cpp Actions/MakroAction.cpp Actions/ErrorAction.cpp Actions/small_actions.cpp Actions/ActionRegistry.cpp
     11ACTIONSHEADER = Actions/Action.hpp Actions/Process.hpp Actions/MethodAction.hpp Actions/ActionSequence.hpp Actions/MakroAction.hpp Actions/ErrorAction.hpp Actions/small_actions.hpp Actions/ActionRegistry.hpp
    1212
    1313PATTERNSOURCE = Patterns/Observer.cpp
  • molecuilder/src/World.cpp

    r120f8b rb53a7e  
    5959    periode(new periodentafel),
    6060    molecules_deprecated(new MoleculeListClass)
    61 {}
     61{
     62  molecules_deprecated->signOn(this);
     63}
    6264
    6365World::~World()
  • molecuilder/src/builder.cpp

    r120f8b rb53a7e  
    21662166
    21672167void cleanUp(config *configuration){
     2168  UIFactory::purgeInstance();
    21682169  World::destroy();
    21692170  delete(configuration);
     
    21752176  logger::purgeInstance();
    21762177  errorLogger::purgeInstance();
    2177   UIFactory::purgeInstance();
    21782178  ActionRegistry::purgeRegistry();
    21792179}
  • molecuilder/src/helpers.hpp

    r120f8b rb53a7e  
    187187};
    188188
    189 
     189#define PLURAL_S(v) (((v)==1)?"":"s")
    190190
    191191#endif /*HELPERS_HPP_*/
Note: See TracChangeset for help on using the changeset viewer.