]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxOLE/gtk/wxole.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
8 // Copyright: (c) Robert Roebling
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
16 #include "wx/object.h"
18 #include "wx/stream.h"
20 //-----------------------------------------------------------------------------
22 //-----------------------------------------------------------------------------
24 extern const wxChar
*wxOleNameStr
;
26 //---------------------------------------------------------------------------
28 //---------------------------------------------------------------------------
34 //---------------------------------------------------------------------------
36 //---------------------------------------------------------------------------
38 class wxOleServerEnvPrivate
;
40 class wxOleServerEnv
: public wxObject
42 DECLARE_CLASS(wxOleServerEnv
)
46 wxOleServerEnv( const wxString
&name
, const wxString
&version
);
51 wxString m_serverName
;
52 wxString m_serverVersion
;
55 wxOleServerEnvPrivate
*m_priv
;
58 //---------------------------------------------------------------------------
60 //---------------------------------------------------------------------------
62 class wxOleServerPrivate
;
64 class wxOleServer
: public wxObject
66 DECLARE_CLASS(wxOleServer
)
70 wxOleServer( const wxString
&id
);
73 virtual wxOleControl
*CreateOleControl();
80 wxOleServerPrivate
*m_priv
;
83 //---------------------------------------------------------------------------
85 //---------------------------------------------------------------------------
87 class wxOleControl
: public wxFrame
89 DECLARE_CLASS(wxOleControl
)
93 wxOleControl( wxWindowID id
, long style
= 0, const wxString
&name
= wxOleNameStr
);
95 bool Create( wxWindowID id
, long style
= 0, const wxString
&name
= wxOleNameStr
);
98 virtual void DoSetSize(int x
, int y
,
99 int width
, int height
,
100 int sizeFlags
= wxSIZE_AUTO
);
102 virtual void DoSetClientSize(int width
, int height
);