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