fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / include / sfx2 / querystatus.hxx
blob475d3cd007659a4c72ed48daa5b1d2b423156107
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 .
20 #ifndef _SFXQUERYSTATUS_HXX
21 #define _SFXQUERYSTATUS_HXX
23 #include "sal/config.h"
24 #include "sfx2/dllapi.h"
25 #include <svl/poolitem.hxx>
26 #include <cppuhelper/weak.hxx>
27 #include <osl/conditn.hxx>
28 #include <com/sun/star/frame/FeatureStateEvent.hpp>
29 #include <com/sun/star/frame/XDispatchProvider.hpp>
30 #include <com/sun/star/frame/XStatusListener.hpp>
32 #include <sfx2/sfxuno.hxx>
34 class SfxQueryStatus_Impl;
35 class SFX2_DLLPUBLIC SfxQueryStatus
37 public:
38 SfxQueryStatus( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider >& rDispatchProvider, sal_uInt16 nSlotId, const OUString& aCommand );
39 ~SfxQueryStatus();
41 // Query method
42 SfxItemState QueryState( SfxPoolItem*& pPoolItem );
44 private:
45 SfxQueryStatus( const SfxQueryStatus& );
46 SfxQueryStatus();
47 SfxQueryStatus& operator=( const SfxQueryStatus& );
49 com::sun::star::uno::Reference< com::sun::star::frame::XStatusListener > m_xStatusListener;
50 SfxQueryStatus_Impl* m_pSfxQueryStatusImpl;
53 #endif // _SFXQUERYSTATUS_HXX
55 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */