2015-04-16 16:55:32 +00:00
|
|
|
#ifndef OPENGL_BROWSER_GUI_H
|
|
|
|
#define OPENGL_BROWSER_GUI_H
|
|
|
|
|
|
|
|
#include "ExampleBrowserInterface.h"
|
|
|
|
|
|
|
|
class OpenGLExampleBrowser : public ExampleBrowserInterface
|
|
|
|
{
|
2016-07-16 07:55:56 +00:00
|
|
|
|
|
|
|
struct OpenGLExampleBrowserInternalData* m_internalData;
|
|
|
|
|
2015-04-16 16:55:32 +00:00
|
|
|
public:
|
|
|
|
|
|
|
|
OpenGLExampleBrowser(class ExampleEntries* examples);
|
|
|
|
virtual ~OpenGLExampleBrowser();
|
|
|
|
|
2015-04-29 20:33:26 +00:00
|
|
|
virtual CommonExampleInterface* getCurrentExample();
|
2015-04-16 16:55:32 +00:00
|
|
|
|
|
|
|
virtual bool init(int argc, char* argv[]);
|
|
|
|
|
|
|
|
virtual void update(float deltaTime);
|
|
|
|
|
|
|
|
virtual bool requestedExit();
|
2016-03-10 22:36:46 +00:00
|
|
|
|
|
|
|
virtual void setSharedMemoryInterface(class SharedMemoryInterface* sharedMem);
|
2015-04-16 16:55:32 +00:00
|
|
|
|
2016-05-13 06:03:12 +00:00
|
|
|
static void registerFileImporter(const char* extension, CommonExampleInterface::CreateFunc* createFunc);
|
2015-04-16 16:55:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //OPENGL_BROWSER_GUI_H
|