refactor: Refactorized whole project structure
This commit is contained in:
25
source/NoNut/include/StaticClass.h
Normal file
25
source/NoNut/include/StaticClass.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user