2 #include "oxygine-include.h" 3 #include "closure/closure.h" 14 typedef std::vector<Restorable*> restorable;
15 static const restorable& getObjects();
16 static void restoreAll();
17 static void releaseAll();
18 static bool isRestored();
20 virtual void* _getRestorableObject() = 0;
21 virtual void release() = 0;
24 typedef Closure<void (Restorable*, void* userData)> RestoreCallback;
26 void reg(RestoreCallback cb,
void* user);
–oxgl-end–!
Definition: Actor.h:14
Definition: Restorable.h:8