OLD | NEW |
(Empty) | |
| 1 #ifndef ACTIVITY_HANDLER_H |
| 2 #define ACTIVITY_HANDLER_H |
| 3 |
| 4 class ActivityHandler { |
| 5 public: |
| 6 virtual int32_t OnActivate() = 0; |
| 7 virtual void OnDeactivate() = 0; |
| 8 virtual int32_t OnStep() = 0; |
| 9 virtual void OnStart() {} |
| 10 virtual void OnResume() {} |
| 11 virtual void OnPause() {} |
| 12 virtual void OnStop() {} |
| 13 virtual void OnDestroy() {} |
| 14 virtual void OnSaveState(void** data, size_t* size) {} |
| 15 virtual void OnConfigurationChanged() {} |
| 16 virtual void OnLowMemory() {} |
| 17 virtual void OnCreateWindow() {} |
| 18 virtual void OnDestroyWindow() {} |
| 19 virtual void OnGainedFocus() {} |
| 20 virtual void OnLostFocus() {} |
| 21 virtual ~ActivityHandler() {} |
| 22 }; |
| 23 |
| 24 #endif |
| 25 |
OLD | NEW |