diff options
Diffstat (limited to 'odk/examples/cpp/complextoolbarcontrols/MyListener.h')
-rw-r--r-- | odk/examples/cpp/complextoolbarcontrols/MyListener.h | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/odk/examples/cpp/complextoolbarcontrols/MyListener.h b/odk/examples/cpp/complextoolbarcontrols/MyListener.h index 24caa9d31d31..25fd45cb46f2 100644 --- a/odk/examples/cpp/complextoolbarcontrols/MyListener.h +++ b/odk/examples/cpp/complextoolbarcontrols/MyListener.h @@ -1,8 +1,25 @@ /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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 . + */ + #ifndef _MyListener_HXX #define _MyListener_HXX -#include <com/sun/star/uno/Reference.h> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/task/XJob.hpp> #include <com/sun/star/document/XEventListener.hpp> @@ -25,11 +42,10 @@ namespace css = ::com::sun::star; * @see WriterListener */ class MyListener : public cppu::WeakImplHelper2< css::task::XJob , - css::lang::XServiceInfo > + css::lang::XServiceInfo > { private: css::uno::Reference< css::lang::XMultiServiceFactory > m_xSMGR; - public: MyListener(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR); virtual ~MyListener(); |