Update module template
Former-commit-id: 49040d563978c2b565f55cab38c92cf7d0a8496a
This commit is contained in:
@@ -9,17 +9,20 @@
|
||||
|
||||
#include <Nazara/Prerequesites.hpp>
|
||||
|
||||
class NAZARA_API NzClassName
|
||||
namespace Nz
|
||||
{
|
||||
public:
|
||||
NzClassName();
|
||||
class NAZARA_MODULENAME_API API ClassName
|
||||
{
|
||||
public:
|
||||
ClassName();
|
||||
|
||||
int GetAttribute() const;
|
||||
int GetAttribute() const;
|
||||
|
||||
void SetAttribute(int attribute);
|
||||
void SetAttribute(int attribute);
|
||||
|
||||
private:
|
||||
int m_attribute;
|
||||
};
|
||||
private:
|
||||
int m_attribute;
|
||||
};
|
||||
}
|
||||
|
||||
#endif // NAZARA_CLASSNAME_HPP
|
||||
|
||||
@@ -10,20 +10,23 @@
|
||||
#include <Nazara/Prerequesites.hpp>
|
||||
#include <Nazara/Core/Initializer.hpp>
|
||||
|
||||
class NAZARA_API NzModuleName
|
||||
namespace Nz
|
||||
{
|
||||
public:
|
||||
NzModuleName() = delete;
|
||||
~NzModuleName() = delete;
|
||||
class NAZARA_MODULENAME_API ModuleName
|
||||
{
|
||||
public:
|
||||
ModuleName() = delete;
|
||||
~ModuleName() = delete;
|
||||
|
||||
static bool Initialize();
|
||||
static bool Initialize();
|
||||
|
||||
static bool IsInitialized();
|
||||
static bool IsInitialized();
|
||||
|
||||
static void Uninitialize();
|
||||
static void Uninitialize();
|
||||
|
||||
private:
|
||||
static unsigned int s_moduleReferenceCounter;
|
||||
};
|
||||
private:
|
||||
static unsigned int s_moduleReferenceCounter;
|
||||
};
|
||||
}
|
||||
|
||||
#endif // NAZARA_MODULENAME_HPP
|
||||
|
||||
Reference in New Issue
Block a user