]> git.saurik.com Git - wxWidgets.git/blob - utils/wxOLE/gtk/wxole.h
back to void for DoFloodFill
[wxWidgets.git] / utils / wxOLE / gtk / wxole.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wxole.h
3 // Purpose: wxOLE
4 // Author: Robert Roebling
5 // Modified by:
6 // Created: 17/8/98
7 // RCS-ID: $Id$
8 // Copyright: (c) Robert Roebling
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifdef __GNUG__
13 #pragma interface "wxole.h"
14 #endif
15
16 #ifndef _WX_OLE_H_
17 #define _WX_OLE_H_
18
19 #include "wx/defs.h"
20 #include "wx/object.h"
21 #include "wx/frame.h"
22 #include "wx/stream.h"
23
24 //-----------------------------------------------------------------------------
25 // global data
26 //-----------------------------------------------------------------------------
27
28 extern const wxChar *wxOleNameStr;
29
30 //---------------------------------------------------------------------------
31 // classes
32 //---------------------------------------------------------------------------
33
34 class wxOleServerEnv;
35 class wxOleServer;
36 class wxOleControl;
37
38 //---------------------------------------------------------------------------
39 // wxOleServerEnv
40 //---------------------------------------------------------------------------
41
42 class wxOleServerEnvPrivate;
43
44 class wxOleServerEnv : public wxObject
45 {
46 DECLARE_CLASS(wxOleServerEnv)
47
48 public:
49
50 wxOleServerEnv( const wxString &name, const wxString &version );
51 ~wxOleServerEnv();
52
53 private:
54
55 wxString m_serverName;
56 wxString m_serverVersion;
57
58 protected:
59 wxOleServerEnvPrivate *m_priv;
60 };
61
62 //---------------------------------------------------------------------------
63 // wxOleServer
64 //---------------------------------------------------------------------------
65
66 class wxOleServerPrivate;
67
68 class wxOleServer : public wxObject
69 {
70 DECLARE_CLASS(wxOleServer)
71
72 public:
73
74 wxOleServer( const wxString &id );
75 ~wxOleServer();
76
77 virtual wxOleControl *CreateOleControl();
78
79 private:
80
81 wxString m_ID;
82
83 protected:
84 wxOleServerPrivate *m_priv;
85 };
86
87 //---------------------------------------------------------------------------
88 // wxOleControl
89 //---------------------------------------------------------------------------
90
91 class wxOleControl : public wxFrame
92 {
93 DECLARE_CLASS(wxOleControl)
94
95 public:
96
97 wxOleControl( wxWindowID id, long style = 0, const wxString &name = wxOleNameStr );
98 ~wxOleControl();
99 bool Create( wxWindowID id, long style = 0, const wxString &name = wxOleNameStr );
100
101 protected:
102 virtual void DoSetSize(int x, int y,
103 int width, int height,
104 int sizeFlags = wxSIZE_AUTO);
105
106 virtual void DoSetClientSize(int width, int height);
107 };
108
109 #endif