2010-10-27 13:11:31 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-06-21 14:30:25 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2001-12-04 06:49:07 +00:00
|
|
|
|
2013-11-05 02:25:45 +01:00
|
|
|
#ifndef INCLUDED_FRAMEWORK_INC_CLASSES_ACTIONTRIGGERCONTAINER_HXX
|
|
|
|
#define INCLUDED_FRAMEWORK_INC_CLASSES_ACTIONTRIGGERCONTAINER_HXX
|
2001-12-04 06:49:07 +00:00
|
|
|
|
|
|
|
#include <helper/propertysetcontainer.hxx>
|
|
|
|
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
|
|
|
#include <com/sun/star/lang/XServiceInfo.hpp>
|
|
|
|
#include <com/sun/star/lang/XTypeProvider.hpp>
|
2010-04-19 19:05:02 +02:00
|
|
|
#include <framework/fwedllapi.h>
|
2001-12-04 06:49:07 +00:00
|
|
|
|
|
|
|
#define SERVICENAME_ACTIONTRIGGERCONTAINER "com.sun.star.ui.ActionTriggerContainer"
|
|
|
|
#define IMPLEMENTATIONNAME_ACTIONTRIGGERCONTAINER "com.sun.star.comp.ui.ActionTriggerContainer"
|
|
|
|
|
|
|
|
namespace framework
|
|
|
|
{
|
|
|
|
|
2010-04-16 23:01:28 +02:00
|
|
|
class FWE_DLLPUBLIC ActionTriggerContainer : public PropertySetContainer,
|
2015-10-13 16:59:57 +02:00
|
|
|
public css::lang::XMultiServiceFactory,
|
|
|
|
public css::lang::XServiceInfo,
|
|
|
|
public css::lang::XTypeProvider
|
2001-12-04 06:49:07 +00:00
|
|
|
{
|
|
|
|
public:
|
2013-01-04 13:38:11 +02:00
|
|
|
ActionTriggerContainer();
|
2016-09-13 13:09:01 +02:00
|
|
|
virtual ~ActionTriggerContainer() override;
|
2001-12-04 06:49:07 +00:00
|
|
|
|
|
|
|
// XInterface
|
2017-01-26 12:28:58 +01:00
|
|
|
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
|
2015-10-12 16:04:04 +02:00
|
|
|
virtual void SAL_CALL acquire() throw () override;
|
|
|
|
virtual void SAL_CALL release() throw () override;
|
2001-12-04 06:49:07 +00:00
|
|
|
|
|
|
|
// XMultiServiceFactory
|
2017-01-26 12:28:58 +01:00
|
|
|
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance( const OUString& aServiceSpecifier ) override;
|
|
|
|
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments( const OUString& ServiceSpecifier, const css::uno::Sequence< css::uno::Any >& Arguments ) override;
|
|
|
|
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames() override;
|
2001-12-04 06:49:07 +00:00
|
|
|
|
|
|
|
// XServiceInfo
|
2017-01-26 12:28:58 +01:00
|
|
|
virtual OUString SAL_CALL getImplementationName( ) override;
|
|
|
|
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
|
|
|
|
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
|
2001-12-04 06:49:07 +00:00
|
|
|
|
|
|
|
// XTypeProvider
|
2017-01-26 12:28:58 +01:00
|
|
|
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
|
|
|
|
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override;
|
2001-12-04 06:49:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2013-11-05 02:25:45 +01:00
|
|
|
#endif // INCLUDED_FRAMEWORK_INC_CLASSES_ACTIONTRIGGERCONTAINER_HXX
|
2010-10-27 13:11:31 +01:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|