You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AppCore.h 321B

12345678910111213141516171819202122
  1. #pragma once
  2. #include "ILifeCycle.h"
  3. #include "IActivity.h"
  4. class AppCore
  5. : public ILifeCycle
  6. {
  7. public:
  8. AppCore();
  9. void begin() override;
  10. void loop() override;
  11. void setActivity(IActivity* activity);
  12. IActivity* getCurrentActivity() const;
  13. protected:
  14. IActivity* m_currentActivity;
  15. };