1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 // Simple.h : Declaration of the CSimple
21 #ifndef INCLUDED_EXTENSIONS_TEST_OLE_UNOTOCOMCALLS_XCALLBACK_IMPL_SIMPLE_H
22 #define INCLUDED_EXTENSIONS_TEST_OLE_UNOTOCOMCALLS_XCALLBACK_IMPL_SIMPLE_H
28 class ATL_NO_VTABLE CSimple
:
29 public CComObjectRootEx
<CComSingleThreadModel
>,
30 public CComCoClass
<CSimple
, &CLSID_Simple
>,
31 public IDispatchImpl
<ISimple
, &IID_ISimple
, &LIBID_XCALLBACK_IMPLLib
>
38 DECLARE_REGISTRY_RESOURCEID(IDR_SIMPLE
)
40 DECLARE_PROTECT_FINAL_CONSTRUCT()
42 BEGIN_COM_MAP(CSimple
)
43 COM_INTERFACE_ENTRY(ISimple
)
44 COM_INTERFACE_ENTRY(IDispatch
)
50 STDMETHOD(get__implementedInterfaces
)(/*[out, retval]*/ LPSAFEARRAY
*pVal
);
51 STDMETHOD(func3
)(/*[in]*/ BSTR message
);
52 STDMETHOD(func2
)(/*[in]*/ BSTR message
);
53 STDMETHOD(func
)( BSTR message
);
56 #endif // INCLUDED_EXTENSIONS_TEST_OLE_UNOTOCOMCALLS_XCALLBACK_IMPL_SIMPLE_H
58 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */