bullet3/examples/ExampleBrowser/ExampleEntries.h

40 lines
812 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);
2016-05-04 06:34:48 +00:00
virtual const char* getExampleDescription(int index);
2016-05-04 06:34:48 +00:00
virtual int getExampleOption(int index);
};
#endif //EXAMPLE_ENTRIES_H