]>
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 /////////////////////////////////////////////////////////////////////////////
13 #pragma interface "wxole.h"
20 #include "wx/object.h"
23 //-----------------------------------------------------------------------------
25 //-----------------------------------------------------------------------------
27 extern const wxChar
*wxOleNameStr
;
29 //---------------------------------------------------------------------------
31 //---------------------------------------------------------------------------
37 //---------------------------------------------------------------------------
39 //---------------------------------------------------------------------------
41 class wxOleServerEnvPrivate
;
43 class wxOleServerEnv
: public wxObject
45 DECLARE_CLASS(wxOleServerEnv
)
49 wxOleServerEnv( const wxString
&name
, const wxString
&version
);
54 wxString m_serverName
;
55 wxString m_serverVersion
;
58 wxOleServerEnvPrivate
*m_priv
;
61 //---------------------------------------------------------------------------
63 //---------------------------------------------------------------------------
65 class wxOleServerPrivate
;
67 class wxOleServer
: public wxObject
69 DECLARE_CLASS(wxOleServer
)
73 wxOleServer( const wxString
&id
);
76 virtual wxOleControl
*CreateOleControl();
83 wxOleServerPrivate
*m_priv
;
86 //---------------------------------------------------------------------------
88 //---------------------------------------------------------------------------
90 class wxOleControl
: public wxFrame
92 DECLARE_CLASS(wxOleControl
)
96 wxOleControl( wxWindowID id
, long style
= 0, const wxString
&name
= wxOleNameStr
);
98 bool Create( wxWindowID id
, long style
= 0, const wxString
&name
= wxOleNameStr
);
101 virtual void DoSetSize(int x
, int y
,
102 int width
, int height
,
103 int sizeFlags
= wxSIZE_AUTO
);
105 virtual void DoSetClientSize(int width
, int height
);