tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / extensions / test / ole / unoTocomCalls / XCallback_Impl / Simple.h
blob8abe5627078c30260bfa3725d6322c3721be861b
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 // Simple.h : Declaration of the CSimple
21 #pragma once
23 #include "resource.h"
26 // CSimple
27 class ATL_NO_VTABLE CSimple :
28 public CComObjectRootEx<CComSingleThreadModel>,
29 public CComCoClass<CSimple, &CLSID_Simple>,
30 public IDispatchImpl<ISimple, &IID_ISimple, &LIBID_XCALLBACK_IMPLLib>
32 public:
33 CSimple()
37 DECLARE_REGISTRY_RESOURCEID(IDR_SIMPLE)
39 DECLARE_PROTECT_FINAL_CONSTRUCT()
41 BEGIN_COM_MAP(CSimple)
42 COM_INTERFACE_ENTRY(ISimple)
43 COM_INTERFACE_ENTRY(IDispatch)
44 END_COM_MAP()
46 // ISimple
47 public:
49 STDMETHOD(get__implementedInterfaces)(/*[out, retval]*/ LPSAFEARRAY *pVal);
50 STDMETHOD(func3)(/*[in]*/ BSTR message);
51 STDMETHOD(func2)(/*[in]*/ BSTR message);
52 STDMETHOD(func)( BSTR message);
55 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */