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