]> git.saurik.com Git - wxWidgets.git/blob - user/wxConvert/wxConvert.h
Had to #ifdef out wxGetFullHostName for Cygwin b20
[wxWidgets.git] / user / wxConvert / wxConvert.h
1 /*
2 * Program: wxConvert
3 *
4 * Author: Robert Roebling
5 *
6 * Copyright: (C) 1997, GNU (Robert Roebling)
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 */
22
23 #ifndef __WXCONVERTH__
24 #define __WXCONVERTH__
25
26 #ifdef __GNUG__
27 #pragma interface
28 #endif
29
30 #include "wx/wx.h"
31
32 //-----------------------------------------------------------------------------
33 // derived classes
34 //-----------------------------------------------------------------------------
35
36 class MyFrame;
37 class MyApp;
38
39 //-----------------------------------------------------------------------------
40 // MyFrame
41 //-----------------------------------------------------------------------------
42
43 class MyFrame: public wxFrame
44 {
45 DECLARE_DYNAMIC_CLASS(MyFrame)
46
47 public:
48
49 MyFrame(void);
50 void OnCommand( wxCommandEvent &event );
51 void Recurse( int id, const wxString &curdir );
52 void Convert( int id, const wxString &fname );
53
54 wxStaticText *m_text;
55
56 DECLARE_EVENT_TABLE()
57 };
58
59 //-----------------------------------------------------------------------------
60 // MyApp
61 //-----------------------------------------------------------------------------
62
63 class MyApp: public wxApp
64 {
65 public:
66
67 MyApp(void);
68 virtual bool OnInit(void);
69 };
70
71 #endif // __WXCONVERTH__