Files
PyG2O/source/NoNut/include/StaticClass.h
2025-01-25 00:02:52 +03:00

26 lines
610 B
C++

#ifndef NONUT_CORE_STATIC_CLASS_H
#define NONUT_CORE_STATIC_CLASS_H
#include "Function.h"
#include "Property.h"
#define METHOD_CTOR(methodName) methodName(#methodName, this->classObjectInstance, this->classObject)
#define PROPERTY_CTOR(propertyName) propertyName(#propertyName, this->classObjectInstance)
namespace nonut
{
class StaticClass
{
public:
explicit StaticClass(const String& className);
~StaticClass();
protected:
// Object holding information about class
SQObject classObject{};
// Class object instance
SQObject classObjectInstance{};
};
}
#endif // NONUT_CORE_STATIC_CLASS_H