Added properties
This commit is contained in:
15
Property.h
Normal file
15
Property.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include <G3DAll.h>
|
||||
class Property
|
||||
{
|
||||
public:
|
||||
std::string title;
|
||||
std::string propName;
|
||||
void * prop;
|
||||
void *(*getFunc)(void);
|
||||
void(*setFunc)(void *);
|
||||
void setProperty(void*);
|
||||
void * getProperty();
|
||||
Property(std::string title, std::string propName, void * prop, void *(*getFunc)(void), void(*setFunc)(void *));
|
||||
~Property(void);
|
||||
};
|
||||
Reference in New Issue
Block a user