Transform to CMake project.

This commit is contained in:
SET
2022-10-15 15:27:56 +02:00
parent 472a3a8fd0
commit 1061b744c2
132 changed files with 136 additions and 3300 deletions

51
LInformation.h Normal file
View File

@@ -0,0 +1,51 @@
/*
* File: LInformation.h
* Author: SET - nmset@yandex.com
* License : LGPL version 2.1
* Copyright SET, M. D. - © 2014
*
* Created on 24 mai 2014, 21:23
*/
#ifndef LINFORMATION_H
#define LINFORMATION_H
#include <wx/wx.h>
/**
* Holds messages from LConnection and LResultSet objects.
* @param newCode
* @param newMsg
*/
class LInformation
{
public:
LInformation(const wxString& newCode,
const wxString& newMsg);
virtual ~LInformation();
wxString GetCode() const
{
return m_code;
}
wxString GetMessage() const
{
return m_msg;
}
/**
*
* @return Both the code and the message concatenated.
*/
wxString GetFullInformation() const
{
return m_code + _T(" : ") + m_msg;
};
private:
wxString m_code;
wxString m_msg;
};
#endif /* LINFORMATION_H */