-
Notifications
You must be signed in to change notification settings - Fork 0
/
Comment.h
40 lines (31 loc) · 865 Bytes
/
Comment.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef COMMENT_H
#define COMMENT_H
#include "Section.h"
#include <wx/string.h>
#include <wx/listctrl.h>
#include <wx/textfile.h>
class CComment : public CSection
{
public:
/** Default constructor */
CComment();
/** Default destructor */
virtual ~CComment();
/** Access m_Comment
* \return The current value of m_Comment
*/
wxString GetComment() { return m_Comment; }
bool IsComment() { return !m_Comment.empty(); }
/** Set m_Comment
* \param val New value to set
*/
void SetComment(wxString val) { m_Comment = val; }
void AddContent(wxListCtrl* liste);
virtual void FillContent(wxListCtrl* liste)=0;
void Write(wxTextFile* File);
virtual void WriteInFile( wxTextFile* File)=0;
protected:
private:
wxString m_Comment; //!< Member variable "m_Comment"
};
#endif // COMMENT_H