mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 22:00:05 +00:00
6a9c54c4ef
Small refactoring for ExampleBrowser: move examples cpp files in the app/executable Move ExtendedTutorials in its own app/executable as a test.
40 lines
812 B
C++
40 lines
812 B
C++
|
|
#ifndef EXAMPLE_ENTRIES_H
|
|
#define EXAMPLE_ENTRIES_H
|
|
|
|
#include "../CommonInterfaces/CommonExampleInterface.h"
|
|
|
|
|
|
|
|
class ExampleEntriesAll : public ExampleEntries
|
|
{
|
|
|
|
struct ExampleEntriesInternalData* m_data;
|
|
|
|
public:
|
|
|
|
ExampleEntriesAll();
|
|
virtual ~ExampleEntriesAll();
|
|
|
|
static void registerExampleEntry(int menuLevel, const char* name,const char* description, CommonExampleInterface::CreateFunc* createFunc, int option=0);
|
|
|
|
virtual void initExampleEntries();
|
|
|
|
virtual void initOpenCLExampleEntries();
|
|
|
|
virtual int getNumRegisteredExamples();
|
|
|
|
virtual CommonExampleInterface::CreateFunc* getExampleCreateFunc(int index);
|
|
|
|
virtual const char* getExampleName(int index);
|
|
|
|
virtual const char* getExampleDescription(int index);
|
|
|
|
virtual int getExampleOption(int index);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //EXAMPLE_ENTRIES_H
|