bullet3/examples/ExampleBrowser/ExampleEntries.h

33 lines
806 B
C
Raw Normal View History

#ifndef EXAMPLE_ENTRIES_H
#define EXAMPLE_ENTRIES_H
#include "../CommonInterfaces/CommonExampleInterface.h"
2016-05-04 06:34:48 +00:00
class ExampleEntriesAll : public ExampleEntries
{
struct ExampleEntriesInternalData* m_data;
public:
2016-05-04 06:34:48 +00:00
ExampleEntriesAll();
virtual ~ExampleEntriesAll();
static void registerExampleEntry(int menuLevel, const char* name, const char* description, CommonExampleInterface::CreateFunc* createFunc, int option = 0);
2016-05-04 06:34:48 +00:00
virtual void initExampleEntries();
2016-05-04 06:34:48 +00:00
virtual void initOpenCLExampleEntries();
2016-05-04 06:34:48 +00:00
virtual int getNumRegisteredExamples();
2016-05-04 06:34:48 +00:00
virtual CommonExampleInterface::CreateFunc* getExampleCreateFunc(int index);
2016-05-04 06:34:48 +00:00
virtual const char* getExampleName(int index);
virtual const char* getExampleDescription(int index);
virtual int getExampleOption(int index);
};
#endif //EXAMPLE_ENTRIES_H