36 lines
798 B
C++
Executable File
36 lines
798 B
C++
Executable File
/**
|
|
* Convert internal gear and charge id to and from tas ids
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Christian Ehrlicher, SLSE, 2016-04-14
|
|
*/
|
|
#pragma once
|
|
#include <ProjectDataManagement/pdm.hpp>
|
|
#include <QMap>
|
|
#include "logger.h"
|
|
|
|
namespace Buildings
|
|
{
|
|
class MainHandler;
|
|
|
|
class PdmHandler
|
|
{
|
|
public:
|
|
explicit PdmHandler(MainHandler *mainHandler);
|
|
~PdmHandler();
|
|
|
|
QMap<int, ProjectDataManagement::BuildingChargeEffect> buildingChargeEffects();
|
|
QMap<int, ProjectDataManagement::ChargeType> chargeTypes();
|
|
private:
|
|
void initializePdm();
|
|
private:
|
|
QMap<int, ProjectDataManagement::ChargeType> m_chargeTypes;
|
|
QMap<int, ProjectDataManagement::BuildingChargeEffect> m_buildingChargeEffects;
|
|
MainHandler *m_mainHandler;
|
|
bool m_bPdmInitialized;
|
|
|
|
LOGGER_T m_logger;
|
|
};
|
|
}
|