add app enum mapper

This commit is contained in:
Magne Sjaastad 2024-03-08 13:20:37 +01:00
parent a1bada1f64
commit b5be3cd87b
3 changed files with 30 additions and 0 deletions

View File

@ -69,6 +69,8 @@ set(PROJECT_FILES
cafAsyncWorkerManager.h
cafAsyncWorkerManager.cpp
cafAppEnumField.h
cafAppEnumMapper.h
cafAppEnumMapper.cpp
)
add_library(${PROJECT_NAME} ${PROJECT_FILES})

View File

@ -0,0 +1,14 @@
#include "cafAppEnumMapper.h"
namespace caf
{
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
AppEnumMapper* AppEnumMapper::instance()
{
static AppEnumMapper* singleton = new AppEnumMapper;
return singleton;
}
} //namespace caf

View File

@ -0,0 +1,14 @@
#pragma once
namespace caf
{
//==================================================================================================
//
//==================================================================================================
class AppEnumMapper
{
public:
static AppEnumMapper* instance();
};
} // end namespace caf