File: ExampleEntries.h

package info (click to toggle)
bullet 2.83.7%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 48,772 kB
  • sloc: cpp: 355,312; lisp: 12,087; ansic: 11,969; python: 644; makefile: 116; xml: 27
file content (40 lines) | stat: -rw-r--r-- 724 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

#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();

	void initOpenCLExampleEntries();
	
	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