]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/wxOLE/gtk/wxole.h
jconfig.h uses configures results
[wxWidgets.git] / utils / wxOLE / gtk / wxole.h
... / ...
CommitLineData
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
23//-----------------------------------------------------------------------------
24// global data
25//-----------------------------------------------------------------------------
26
27extern const wxChar *wxOleNameStr;
28
29//---------------------------------------------------------------------------
30// classes
31//---------------------------------------------------------------------------
32
33class wxOleServerEnv;
34class wxOleServer;
35class wxOleControl;
36
37//---------------------------------------------------------------------------
38// wxOleServerEnv
39//---------------------------------------------------------------------------
40
41class wxOleServerEnvPrivate;
42
43class wxOleServerEnv : public wxObject
44{
45 DECLARE_CLASS(wxOleServerEnv)
46
47public:
48
49 wxOleServerEnv( const wxString &name, const wxString &version );
50 ~wxOleServerEnv();
51
52private:
53
54 wxString m_serverName;
55 wxString m_serverVersion;
56
57protected:
58 wxOleServerEnvPrivate *m_priv;
59};
60
61//---------------------------------------------------------------------------
62// wxOleServer
63//---------------------------------------------------------------------------
64
65class wxOleServerPrivate;
66
67class wxOleServer : public wxObject
68{
69 DECLARE_CLASS(wxOleServer)
70
71public:
72
73 wxOleServer( const wxString &id );
74 ~wxOleServer();
75
76 virtual wxOleControl *CreateOleControl();
77
78private:
79
80 wxString m_ID;
81
82protected:
83 wxOleServerPrivate *m_priv;
84};
85
86//---------------------------------------------------------------------------
87// wxOleControl
88//---------------------------------------------------------------------------
89
90class wxOleControl : public wxFrame
91{
92 DECLARE_CLASS(wxOleControl)
93
94public:
95
96 wxOleControl( wxWindowID id, long style = 0, const wxString &name = wxOleNameStr );
97 ~wxOleControl();
98 bool Create( wxWindowID id, long style = 0, const wxString &name = wxOleNameStr );
99
100protected:
101 virtual void DoSetSize(int x, int y,
102 int width, int height,
103 int sizeFlags = wxSIZE_AUTO);
104
105 virtual void DoSetClientSize(int width, int height);
106};
107
108#endif