2015-04-16 16:55:32 +00:00
|
|
|
#ifndef EXAMPLE_BROWSER_GUI_H
|
|
|
|
#define EXAMPLE_BROWSER_GUI_H
|
|
|
|
|
2015-04-29 20:33:26 +00:00
|
|
|
#include "../CommonInterfaces/CommonExampleInterface.h"
|
2015-04-16 16:55:32 +00:00
|
|
|
|
|
|
|
class ExampleBrowserInterface
|
|
|
|
{
|
2018-09-23 21:17:31 +00:00
|
|
|
public:
|
2015-04-16 16:55:32 +00:00
|
|
|
virtual ~ExampleBrowserInterface() {}
|
|
|
|
|
2015-04-29 20:33:26 +00:00
|
|
|
virtual CommonExampleInterface* getCurrentExample() = 0;
|
2015-04-16 16:55:32 +00:00
|
|
|
|
2018-09-23 21:17:31 +00:00
|
|
|
virtual bool init(int argc, char* argv[]) = 0;
|
2015-04-16 16:55:32 +00:00
|
|
|
|
2018-09-23 21:17:31 +00:00
|
|
|
virtual void update(float deltaTime) = 0;
|
2015-04-16 16:55:32 +00:00
|
|
|
|
2020-02-14 10:23:28 +00:00
|
|
|
virtual void updateGraphics() = 0;
|
|
|
|
|
2018-09-23 21:17:31 +00:00
|
|
|
virtual bool requestedExit() = 0;
|
2020-02-14 10:23:28 +00:00
|
|
|
|
|
|
|
virtual void setSharedMemoryInterface(class SharedMemoryInterface* sharedMem) = 0;
|
2018-09-23 21:17:31 +00:00
|
|
|
};
|
2015-04-16 16:55:32 +00:00
|
|
|
|
2018-09-23 21:17:31 +00:00
|
|
|
#endif //EXAMPLE_BROWSER_GUI_H
|