2022-05-13 23:42:41 -04:00
|
|
|
#ifndef EXAMPLE_BROWSER_GUI_H
|
|
|
|
|
#define EXAMPLE_BROWSER_GUI_H
|
|
|
|
|
|
|
|
|
|
#include "../CommonInterfaces/CommonExampleInterface.h"
|
|
|
|
|
|
|
|
|
|
class ExampleBrowserInterface
|
|
|
|
|
{
|
2026-06-03 15:08:51 +01:00
|
|
|
public:
|
2022-05-13 23:42:41 -04:00
|
|
|
virtual ~ExampleBrowserInterface() {}
|
|
|
|
|
|
|
|
|
|
virtual CommonExampleInterface* getCurrentExample() = 0;
|
|
|
|
|
|
2026-06-03 15:08:51 +01:00
|
|
|
virtual bool init(int argc, char* argv[]) = 0;
|
2022-05-13 23:42:41 -04:00
|
|
|
|
2026-06-03 15:08:51 +01:00
|
|
|
virtual void update(float deltaTime) = 0;
|
2022-05-13 23:42:41 -04:00
|
|
|
|
2026-06-03 15:08:51 +01:00
|
|
|
virtual void updateGraphics() = 0;
|
2022-05-13 23:42:41 -04:00
|
|
|
|
2026-06-03 15:08:51 +01:00
|
|
|
virtual bool requestedExit() = 0;
|
|
|
|
|
|
|
|
|
|
virtual void setSharedMemoryInterface(class SharedMemoryInterface* sharedMem) = 0;
|
|
|
|
|
};
|
2022-05-13 23:42:41 -04:00
|
|
|
|
2026-06-03 15:08:51 +01:00
|
|
|
#endif //EXAMPLE_BROWSER_GUI_H
|