add initial examples, replacing the 'Demos/Demos3'. Will make it work cross-platform, OpenGL3/OpenGL2 and add more examples to it.
This commit is contained in:
23
examples/ExampleBrowser/ExampleBrowserInterface.h
Normal file
23
examples/ExampleBrowser/ExampleBrowserInterface.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef EXAMPLE_BROWSER_GUI_H
|
||||
#define EXAMPLE_BROWSER_GUI_H
|
||||
|
||||
#include "../CommonInterfaces/ExampleInterface.h"
|
||||
|
||||
class ExampleBrowserInterface
|
||||
{
|
||||
public:
|
||||
|
||||
virtual ~ExampleBrowserInterface() {}
|
||||
|
||||
virtual ExampleInterface* getCurrentExample() = 0;
|
||||
|
||||
virtual bool init(int argc, char* argv[])=0;
|
||||
|
||||
virtual void update(float deltaTime)=0;
|
||||
|
||||
virtual bool requestedExit()=0;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif //EXAMPLE_BROWSER_GUI_H
|
||||
Reference in New Issue
Block a user