mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 06:00:12 +00:00
39 lines
689 B
C++
39 lines
689 B
C++
|
|
#ifndef EXAMPLE_ENTRIES_H
|
|
#define EXAMPLE_ENTRIES_H
|
|
|
|
#include "../CommonInterfaces/CommonExampleInterface.h"
|
|
|
|
|
|
|
|
|
|
class ExampleEntries
|
|
{
|
|
|
|
struct ExampleEntriesInternalData* m_data;
|
|
|
|
public:
|
|
|
|
ExampleEntries();
|
|
virtual ~ExampleEntries();
|
|
|
|
static void registerExampleEntry(int menuLevel, const char* name,const char* description, CommonExampleInterface::CreateFunc* createFunc, int option=0);
|
|
|
|
void initExampleEntries();
|
|
|
|
int getNumRegisteredExamples();
|
|
|
|
CommonExampleInterface::CreateFunc* getExampleCreateFunc(int index);
|
|
|
|
const char* getExampleName(int index);
|
|
|
|
const char* getExampleDescription(int index);
|
|
|
|
int getExampleOption(int index);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //EXAMPLE_ENTRIES_H
|