Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ObjectManagerDocument.h

Go to the documentation of this file.
00001 
00010 #pragma once
00011 
00012 #include "BaseObjectEventHandler.h"
00013 #include "IObjectManager.h"
00014 
00021 class ObjectManagerDocument: public BaseObjectEventHandler
00022 {
00023 public:
00024     bool changed;
00025     char path[1024];
00026     IObjectManager *objectManager;
00027 
00028     void ChildChanged(IManagedObject *inTarget, void *inChild)
00029     {
00030         changed = true;
00031     }
00032 
00033     void save()
00034     {
00035         objectManager->saveToFile(path);
00036         changed = false;
00037     }
00038 };

Generated on Mon Apr 15 15:22:58 2002 for WhiteDwarf by doxygen1.2.15