[go: up one dir, main page]

Menu

[r6]: / toucan / trunk / toucan.h  Maximize  Restore  History

Download this file

92 lines (67 with data), 1.6 kB

 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/////////////////////////////////////////////////////////////////////////////
// Name: toucan.h
// Purpose:
// Author: Steven Lamerton
// Modified by:
// Created: 08/02/2007 19:08:06
// RCS-ID:
// Copyright: Copyright (C) 2006 Steven Lamerton
// Licence:
/////////////////////////////////////////////////////////////////////////////
#ifndef _Toucan_H_
#define _Toucan_H_
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "toucan.h"
#endif
/*!
* Includes
*/
////@begin includes
#include "wx/image.h"
#include "frmmain.h"
////@end includes
/*!
* Forward declarations
*/
////@begin forward declarations
////@end forward declarations
/*!
* Control identifiers
*/
////@begin control identifiers
////@end control identifiers
/*!
* Toucan class declaration
*/
class Toucan: public wxApp
{
DECLARE_CLASS( Toucan )
DECLARE_EVENT_TABLE()
public:
/// Constructor
Toucan();
/// Initialises the application
virtual bool OnInit();
/// Called on exit
virtual int OnExit();
void SelectLanguage(int lang) ;
////@begin Toucan event handler declarations
////@end Toucan event handler declarations
////@begin Toucan member function declarations
wxString GetStrTemp() const { return strTemp ; }
void SetStrTemp(wxString value) { strTemp = value ; }
////@end Toucan member function declarations
////@begin Toucan member variables
public:
wxString strTemp;
////@end Toucan member variables
private:
wxLocale* m_locale; // 'our' locale
};
/*!
* Application instance declaration
*/
///@begin declare app
DECLARE_APP(Toucan)
///@end declare app
#endif