WHY_CPP  0.1
lifecycle_holder.h
1 #pragma once
2 
3 #include "../i_object.h"
4 class LifecycleHolder: public IObject {
5  bool quit_ = false;
6  bool paused_ = false;
7  public:
8  bool IsQuit() const;
9  void SetQuit(bool quit);
10  bool IsPaused() const;
11  void SetPaused(bool paused);
12 
13  ~LifecycleHolder() override;
14 };
15 
16