]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxOLE/gtk/wxole.h
1f765dc507ad701841308b34c9064ebee6d75b03
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
8 // Copyright: (c) Robert Roebling
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma interface "wxole.h"
20 #include "wx/object.h"
22 #include "wx/stream.h"
24 //-----------------------------------------------------------------------------
26 //-----------------------------------------------------------------------------
28 extern const wxChar
*wxOleNameStr
;
30 //---------------------------------------------------------------------------
32 //---------------------------------------------------------------------------
38 //---------------------------------------------------------------------------
40 //---------------------------------------------------------------------------
42 class wxOleServerEnvPrivate
;
44 class wxOleServerEnv
: public wxObject
46 DECLARE_CLASS(wxOleServerEnv
)
50 wxOleServerEnv( const wxString
&name
, const wxString
&version
);
55 wxString m_serverName
;
56 wxString m_serverVersion
;
59 wxOleServerEnvPrivate
*m_priv
;
62 //---------------------------------------------------------------------------
64 //---------------------------------------------------------------------------
66 class wxOleServerPrivate
;
68 class wxOleServer
: public wxObject
70 DECLARE_CLASS(wxOleServer
)
74 wxOleServer( const wxString
&id
);
77 virtual wxOleControl
*CreateOleControl();
84 wxOleServerPrivate
*m_priv
;
87 //---------------------------------------------------------------------------
89 //---------------------------------------------------------------------------
91 class wxOleControl
: public wxFrame
93 DECLARE_CLASS(wxOleControl
)
97 wxOleControl( wxWindowID id
, long style
= 0, const wxString
&name
= wxOleNameStr
);
99 bool Create( wxWindowID id
, long style
= 0, const wxString
&name
= wxOleNameStr
);
102 virtual void DoSetSize(int x
, int y
,
103 int width
, int height
,
104 int sizeFlags
= wxSIZE_AUTO
);
106 virtual void DoSetClientSize(int width
, int height
);