Temporary fix until Utility module has been split. Former-commit-id: 702929f41c8f1dd4015b64e9b331c150ad6fd953 [formerly f113bd948da6a8c5399aab48f53b6cb5ca272081] [formerly 593365938d7e3a835b94727ec6dc744a7a113822 [formerly e43d02e4e221e5c1d85320d71d1a258db44768d1]] Former-commit-id: 29e2dd7ff9ee608847e3f78a7474e3286343b152 [formerly cf10e1a9dd5ca6df0bdf39730e2b38e9ea0d673a] Former-commit-id: a479d4eb078b30d6e7b34bd53dba6366fad643de
42 lines
977 B
C++
42 lines
977 B
C++
// Copyright (C) 2015 Jérôme Leclercq
|
|
// This file is part of the "Nazara Engine - Utility module"
|
|
// For conditions of distribution and use, see copyright notice in Config.hpp
|
|
|
|
#pragma once
|
|
|
|
#ifndef NAZARA_UTILITY_HPP
|
|
#define NAZARA_UTILITY_HPP
|
|
|
|
#include <Nazara/Prerequesites.hpp>
|
|
#include <Nazara/Core/Initializer.hpp>
|
|
#include <Nazara/Core/ParameterList.hpp>
|
|
#include <Nazara/Utility/Config.hpp>
|
|
#include <Nazara/Utility/Enums.hpp>
|
|
|
|
namespace Nz
|
|
{
|
|
class NAZARA_UTILITY_API Utility
|
|
{
|
|
public:
|
|
Utility() = delete;
|
|
~Utility() = delete;
|
|
|
|
static bool Initialize();
|
|
|
|
static bool IsInitialized();
|
|
|
|
static void SetParameters(const ParameterList& parameters);
|
|
|
|
static void Uninitialize();
|
|
|
|
static unsigned int ComponentCount[ComponentType_Max+1];
|
|
static std::size_t ComponentStride[ComponentType_Max+1];
|
|
|
|
private:
|
|
static ParameterList s_initializationParameters;
|
|
static unsigned int s_moduleReferenceCounter;
|
|
};
|
|
}
|
|
|
|
#endif // NAZARA_UTILITY_HPP
|