bullet3/examples/ExampleBrowser/OpenGLExampleBrowser.h
erwin coumans f9762d63ab Removed many memoryleaks in Example Browser, reducing some technical debt.
When running the Example Browser with Basic Example, 'visual leak detector' show no leak.
Many other individual examples still leak, so it is work-in-progress.
Disabled the profiler window (too many leaks)
2016-07-16 00:55:56 -07:00

30 lines
716 B
C++

#ifndef OPENGL_BROWSER_GUI_H
#define OPENGL_BROWSER_GUI_H
#include "ExampleBrowserInterface.h"
class OpenGLExampleBrowser : public ExampleBrowserInterface
{
struct OpenGLExampleBrowserInternalData* m_internalData;
public:
OpenGLExampleBrowser(class ExampleEntries* examples);
virtual ~OpenGLExampleBrowser();
virtual CommonExampleInterface* getCurrentExample();
virtual bool init(int argc, char* argv[]);
virtual void update(float deltaTime);
virtual bool requestedExit();
virtual void setSharedMemoryInterface(class SharedMemoryInterface* sharedMem);
static void registerFileImporter(const char* extension, CommonExampleInterface::CreateFunc* createFunc);
};
#endif //OPENGL_BROWSER_GUI_H