Stop leaking all ScPostIt instances.
[LibreOffice.git] / io / source / services.hxx
blobec37e09566d9ee73eb0591ccf2c14d5e9fb0ae4f
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 INCLUDED_IO_SOURCE_SERVICES_HXX
21 #define INCLUDED_IO_SOURCE_SERVICES_HXX
23 #include "sal/config.h"
25 #include "com/sun/star/uno/Reference.hxx"
26 #include "com/sun/star/uno/Sequence.hxx"
27 #include "rtl/ustring.hxx"
28 #include "sal/types.h"
30 using namespace ::com::sun::star::uno;
31 using namespace ::com::sun::star::lang;
32 using namespace ::com::sun::star::registry;
34 namespace io_acceptor{
35 Reference< XInterface > SAL_CALL acceptor_CreateInstance( const Reference< XComponentContext > & xCtx);
36 OUString acceptor_getImplementationName();
37 Sequence< OUString > acceptor_getSupportedServiceNames();
40 namespace stoc_connector {
41 Reference< XInterface > SAL_CALL connector_CreateInstance( const Reference< XComponentContext > & xCtx);
42 OUString connector_getImplementationName();
43 Sequence< OUString > connector_getSupportedServiceNames();
46 namespace io_TextInputStream {
47 Reference< XInterface > SAL_CALL TextInputStream_CreateInstance(SAL_UNUSED_PARAMETER const Reference< XComponentContext > &);
48 OUString TextInputStream_getImplementationName();
49 Sequence< OUString > TextInputStream_getSupportedServiceNames();
52 namespace io_TextOutputStream {
53 Reference< XInterface > SAL_CALL TextOutputStream_CreateInstance(SAL_UNUSED_PARAMETER const Reference< XComponentContext > &);
54 OUString TextOutputStream_getImplementationName() SAL_THROW( () );
55 Sequence< OUString > TextOutputStream_getSupportedServiceNames();
58 namespace io_stm {
59 Reference< XInterface > SAL_CALL OPipeImpl_CreateInstance( const Reference< XComponentContext > & rSMgr ) throw (Exception);
60 OUString OPipeImpl_getImplementationName();
61 Sequence<OUString> OPipeImpl_getSupportedServiceNames(void);
63 Reference< XInterface > SAL_CALL ODataInputStream_CreateInstance( const Reference< XComponentContext > & rSMgr ) throw (Exception);
64 OUString ODataInputStream_getImplementationName();
65 Sequence<OUString> ODataInputStream_getSupportedServiceNames(void);
67 Reference< XInterface > SAL_CALL ODataOutputStream_CreateInstance( const Reference< XComponentContext > & rSMgr ) throw (Exception);
68 OUString ODataOutputStream_getImplementationName();
69 Sequence<OUString> ODataOutputStream_getSupportedServiceNames(void);
71 Reference< XInterface > SAL_CALL OMarkableOutputStream_CreateInstance( const Reference< XComponentContext > & rSMgr ) throw (Exception);
72 OUString OMarkableOutputStream_getImplementationName();
73 Sequence<OUString> OMarkableOutputStream_getSupportedServiceNames(void);
75 Reference< XInterface > SAL_CALL OMarkableInputStream_CreateInstance( const Reference< XComponentContext > & rSMgr ) throw (Exception);
76 OUString OMarkableInputStream_getImplementationName() ;
77 Sequence<OUString> OMarkableInputStream_getSupportedServiceNames(void);
79 Reference< XInterface > SAL_CALL OObjectOutputStream_CreateInstance( const Reference< XComponentContext > & rSMgr ) throw(Exception);
80 OUString OObjectOutputStream_getImplementationName();
81 Sequence<OUString> OObjectOutputStream_getSupportedServiceNames(void);
83 Reference< XInterface > SAL_CALL OObjectInputStream_CreateInstance( const Reference< XComponentContext > & rSMgr ) throw(Exception);
84 OUString OObjectInputStream_getImplementationName() ;
85 Sequence<OUString> OObjectInputStream_getSupportedServiceNames(void);
87 Reference< XInterface > SAL_CALL OPumpImpl_CreateInstance( const Reference< XComponentContext > & rSMgr ) throw (Exception);
88 OUString OPumpImpl_getImplementationName();
89 Sequence<OUString> OPumpImpl_getSupportedServiceNames(void);
92 #endif
94 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */