Kaydet (Commit) 115b2958 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Clean up function declarations

Change-Id: If482545f87a9b0c066f91639c55b73bee4d01b5c
üst e98e738a
/* -*- 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 INCLUDED_XMLSCRIPT_SOURCE_INC_UNOSERVICES_HXX
#define INCLUDED_XMLSCRIPT_SOURCE_INC_UNOSERVICES_HXX
#include <sal/config.h>
#include <com/sun/star/uno/Exception.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <rtl/ustring.hxx>
#include <sal/types.h>
namespace com { namespace sun { namespace star { namespace uno {
class XComponentContext;
class XInterface;
} } } }
namespace xmlscript {
css::uno::Sequence<OUString> SAL_CALL
getSupportedServiceNames_DocumentHandlerImpl();
OUString SAL_CALL getImplementationName_DocumentHandlerImpl();
css::uno::Reference<css::uno::XInterface> SAL_CALL create_DocumentHandlerImpl(
css::uno::Reference<css::uno::XComponentContext> const & xContext)
SAL_THROW((css::uno::Exception));
css::uno::Sequence<OUString> SAL_CALL
getSupportedServiceNames_XMLBasicExporter();
OUString SAL_CALL getImplementationName_XMLBasicExporter();
css::uno::Reference<css::uno::XInterface> SAL_CALL create_XMLBasicExporter(
css::uno::Reference<css::uno::XComponentContext> const & xContext)
SAL_THROW((css::uno::Exception));
css::uno::Sequence<OUString> SAL_CALL
getSupportedServiceNames_XMLOasisBasicExporter();
OUString SAL_CALL getImplementationName_XMLOasisBasicExporter();
css::uno::Reference<css::uno::XInterface> SAL_CALL create_XMLOasisBasicExporter(
css::uno::Reference<css::uno::XComponentContext> const & xContext)
SAL_THROW((css::uno::Exception));
css::uno::Sequence<OUString> SAL_CALL
getSupportedServiceNames_XMLBasicImporter();
OUString SAL_CALL getImplementationName_XMLBasicImporter();
css::uno::Reference<css::uno::XInterface> SAL_CALL create_XMLBasicImporter(
css::uno::Reference<css::uno::XComponentContext> const & xContext)
SAL_THROW((css::uno::Exception));
css::uno::Sequence<OUString> SAL_CALL
getSupportedServiceNames_XMLOasisBasicImporter();
OUString SAL_CALL getImplementationName_XMLOasisBasicImporter();
css::uno::Reference<css::uno::XInterface> SAL_CALL create_XMLOasisBasicImporter(
css::uno::Reference<css::uno::XComponentContext> const & xContext)
SAL_THROW((css::uno::Exception));
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -19,41 +19,13 @@
#include <cppuhelper/implementationentry.hxx>
#include <unoservices.hxx>
using namespace ::rtl;
using namespace ::com::sun::star::uno;
namespace xmlscript
{
Sequence< OUString > SAL_CALL getSupportedServiceNames_DocumentHandlerImpl();
OUString SAL_CALL getImplementationName_DocumentHandlerImpl();
Reference< XInterface > SAL_CALL create_DocumentHandlerImpl(
Reference< XComponentContext > const & xContext )
SAL_THROW( (Exception) );
Sequence< OUString > SAL_CALL getSupportedServiceNames_XMLBasicExporter();
OUString SAL_CALL getImplementationName_XMLBasicExporter();
Reference< XInterface > SAL_CALL create_XMLBasicExporter(
Reference< XComponentContext > const & xContext )
SAL_THROW( (Exception) );
Sequence< OUString > SAL_CALL getSupportedServiceNames_XMLOasisBasicExporter();
OUString SAL_CALL getImplementationName_XMLOasisBasicExporter();
Reference< XInterface > SAL_CALL create_XMLOasisBasicExporter(
Reference< XComponentContext > const & xContext )
SAL_THROW( (Exception) );
Sequence< OUString > SAL_CALL getSupportedServiceNames_XMLBasicImporter();
OUString SAL_CALL getImplementationName_XMLBasicImporter();
Reference< XInterface > SAL_CALL create_XMLBasicImporter(
Reference< XComponentContext > const & xContext )
SAL_THROW( (Exception) );
Sequence< OUString > SAL_CALL getSupportedServiceNames_XMLOasisBasicImporter();
OUString SAL_CALL getImplementationName_XMLOasisBasicImporter();
Reference< XInterface > SAL_CALL create_XMLOasisBasicImporter(
Reference< XComponentContext > const & xContext )
SAL_THROW( (Exception) );
static const struct ::cppu::ImplementationEntry s_entries [] =
{
{
......
......@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <sal/config.h>
#include "unoservices.hxx"
#include "xml_import.hxx"
#include <cppuhelper/factory.hxx>
......
......@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <sal/config.h>
#include "unoservices.hxx"
#include "xmlbas_export.hxx"
#include <xmlscript/xmlns.h>
#include <xmlscript/xml_helper.hxx>
......
......@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <sal/config.h>
#include "unoservices.hxx"
#include "xmlbas_import.hxx"
#include <xmlscript/xmlns.h>
#include <xmlscript/xml_helper.hxx>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment