Changeset 3e8325 for molecuilder/src/UIElements/UIFactory.cpp
- Timestamp:
- Jan 7, 2010, 2:46:34 PM (16 years ago)
- Children:
- d97af9
- Parents:
- 34ff5e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/UIElements/UIFactory.cpp
r34ff5e6 r3e8325 12 12 // all factories that can be used: 13 13 #include "UIElements/TextUIFactory.hpp" 14 15 UIFactory *UIFactory::theFactory = 0; 14 16 15 17 UIFactory::UIFactory() … … 41 43 return theFactory; 42 44 } 45 46 47 void UIFactory::purgeInstance(){ 48 if(theFactory) { 49 delete theFactory; 50 theFactory = 0; 51 } 52 }
Note:
See TracChangeset
for help on using the changeset viewer.