Transform to CMake project.
This commit is contained in:
43
LItemData.cpp
Normal file
43
LItemData.cpp
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* File: ltItemData.cpp
|
||||
* Author: SET - nmset@yandex.com
|
||||
* License : LGPL version 2.1
|
||||
* Copyright SET, M. D. - © 2014
|
||||
*
|
||||
* Created on 24 mai 2014, 20:26
|
||||
*/
|
||||
|
||||
#include "LItemData.h"
|
||||
|
||||
LItemData::LItemData(const long newData)
|
||||
{
|
||||
m_data = newData;
|
||||
}
|
||||
|
||||
LItemData::LItemData(const wxString newData)
|
||||
{
|
||||
m_data = newData;
|
||||
}
|
||||
|
||||
LItemData::LItemData(const wxAny newData)
|
||||
{
|
||||
m_data = newData;
|
||||
}
|
||||
|
||||
LItemData::~LItemData()
|
||||
{
|
||||
}
|
||||
|
||||
long LItemData::GetLong()
|
||||
{
|
||||
long lVal;
|
||||
m_data.GetAs(&lVal);
|
||||
return lVal;
|
||||
}
|
||||
|
||||
wxString LItemData::GetString()
|
||||
{
|
||||
wxString sVal;
|
||||
m_data.GetAs(&sVal);
|
||||
return sVal;
|
||||
}
|
||||
Reference in New Issue
Block a user