OpenGLExampleBrowser.h 716 B

1234567891011121314151617181920212223242526272829
  1. #ifndef OPENGL_BROWSER_GUI_H
  2. #define OPENGL_BROWSER_GUI_H
  3. #include "ExampleBrowserInterface.h"
  4. class OpenGLExampleBrowser : public ExampleBrowserInterface
  5. {
  6. struct OpenGLExampleBrowserInternalData* m_internalData;
  7. public:
  8. OpenGLExampleBrowser(class ExampleEntries* examples);
  9. virtual ~OpenGLExampleBrowser();
  10. virtual CommonExampleInterface* getCurrentExample();
  11. virtual bool init(int argc, char* argv[]);
  12. virtual void update(float deltaTime);
  13. virtual bool requestedExit();
  14. virtual void setSharedMemoryInterface(class SharedMemoryInterface* sharedMem);
  15. static void registerFileImporter(const char* extension, CommonExampleInterface::CreateFunc* createFunc);
  16. };
  17. #endif //OPENGL_BROWSER_GUI_H