bump product version to 6.3.0.0.beta1
[LibreOffice.git] / extensions / test / ole / MfcControl / MfcControlCtl.h
blob865085467ecebb38c88df37a1fc830ba25c56e6f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #if !defined(AFX_MFCCONTROLCTL_H__AC221FC3_A0D8_11D4_833B_005004526AB4__INCLUDED_)
20 #define AFX_MFCCONTROLCTL_H__AC221FC3_A0D8_11D4_833B_005004526AB4__INCLUDED_
22 #ifdef _MSC_VER
23 #pragma once
24 #endif
26 // MfcControlCtl.h : Declaration of the CMfcControlCtrl ActiveX Control class.
29 // CMfcControlCtrl : See MfcControlCtl.cpp for implementation.
31 class CMfcControlCtrl : public COleControl
33 DECLARE_DYNCREATE(CMfcControlCtrl)
35 // Constructor
36 public:
37 CMfcControlCtrl();
39 // Overrides
40 // ClassWizard generated virtual function overrides
41 //{{AFX_VIRTUAL(CMfcControlCtrl)
42 public:
43 virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
44 virtual void DoPropExchange(CPropExchange* pPX);
45 virtual void OnResetState();
46 //}}AFX_VIRTUAL
48 // Implementation
49 protected:
50 ~CMfcControlCtrl();
52 DECLARE_OLECREATE_EX(CMfcControlCtrl) // Class factory and guid
53 DECLARE_OLETYPELIB(CMfcControlCtrl) // GetTypeInfo
54 DECLARE_PROPPAGEIDS(CMfcControlCtrl) // Property page IDs
55 DECLARE_OLECTLTYPE(CMfcControlCtrl) // Type name and misc status
57 // Message maps
58 //{{AFX_MSG(CMfcControlCtrl)
59 // NOTE - ClassWizard will add and remove member functions here.
60 // DO NOT EDIT what you see in these blocks of generated code !
61 //}}AFX_MSG
62 DECLARE_MESSAGE_MAP()
64 // Dispatch maps
65 //{{AFX_DISPATCH(CMfcControlCtrl)
66 afx_msg short inShort(short val);
67 afx_msg long inLong(long val);
68 afx_msg BSTR inString(BSTR* val);
69 afx_msg float inFloat(float val);
70 afx_msg double inDouble(double val);
71 afx_msg VARIANT inVariant(const VARIANT FAR& val);
72 afx_msg LPDISPATCH inObject(LPDISPATCH val);
73 afx_msg void outShort(short* val);
74 afx_msg void outLong(long* val);
75 afx_msg void outString(BSTR FAR* val);
76 afx_msg void outFloat(float* val);
77 afx_msg void outDouble(double* val);
78 afx_msg void outVariant(VARIANT FAR* val);
79 afx_msg void outObject(LPDISPATCH FAR* val);
80 //}}AFX_DISPATCH
81 DECLARE_DISPATCH_MAP()
83 // Event maps
84 //{{AFX_EVENT(CMfcControlCtrl)
85 //}}AFX_EVENT
86 DECLARE_EVENT_MAP()
88 // Dispatch and event IDs
89 public:
90 enum {
91 //{{AFX_DISP_ID(CMfcControlCtrl)
92 dispidInShort = 1L,
93 dispidInLong = 2L,
94 dispidInString = 3L,
95 dispidInFloat = 4L,
96 dispidInDouble = 5L,
97 dispidInVariant = 6L,
98 dispidInObject = 7L,
99 dispidOutShort = 8L,
100 dispidOutLong = 9L,
101 dispidOutString = 10L,
102 dispidOutFloat = 11L,
103 dispidOutDouble = 12L,
104 dispidOutVariant = 13L,
105 dispidOutObject = 14L,
106 //}}AFX_DISP_ID
110 //{{AFX_INSERT_LOCATION}}
111 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
113 #endif // !defined(AFX_MFCCONTROLCTL_H__AC221FC3_A0D8_11D4_833B_005004526AB4__INCLUDED)
114 // BYTE
116 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */