Update module template

Former-commit-id: 49040d563978c2b565f55cab38c92cf7d0a8496a
This commit is contained in:
Lynix
2015-09-27 18:28:43 +02:00
parent 24e5141cbe
commit 20e8ef1436
7 changed files with 102 additions and 104 deletions

View File

@@ -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

View File

@@ -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