diff options
author | Noel Grandin <noel@peralex.com> | 2013-01-30 14:46:50 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-02-11 08:02:15 +0200 |
commit | ff85e8319a263e428ce53f7758092475b953afba (patch) | |
tree | 61d407de6a6bd00b352da51c013e3351237b95ee /udkapi/com/sun/star/io | |
parent | a7ecab870eb5567bceb3ef61d87d8db805bc6796 (diff) |
fdo#46808, convert io::TextInputStream service to new style
Change-Id: Ida4abdd6587399aa8ade88af672bcb23ab7ea0f1
Diffstat (limited to 'udkapi/com/sun/star/io')
-rw-r--r-- | udkapi/com/sun/star/io/TextInputStream.idl | 15 | ||||
-rw-r--r-- | udkapi/com/sun/star/io/XTextInputStream2.idl | 48 |
2 files changed, 50 insertions, 13 deletions
diff --git a/udkapi/com/sun/star/io/TextInputStream.idl b/udkapi/com/sun/star/io/TextInputStream.idl index d7e6703985f2..f2a8e56053c0 100644 --- a/udkapi/com/sun/star/io/TextInputStream.idl +++ b/udkapi/com/sun/star/io/TextInputStream.idl @@ -19,12 +19,9 @@ #ifndef __com_sun_star_io_TextInputStream_idl__ #define __com_sun_star_io_TextInputStream_idl__ -#include <com/sun/star/io/XTextInputStream.idl> - +#include <com/sun/star/io/XTextInputStream2.idl> #include <com/sun/star/io/XActiveDataSink.idl> -#include <com/sun/star/io/XConnectable.idl> - module com { module sun { module star { module io { @@ -37,15 +34,7 @@ module com { module sun { module star { module io { <p>For details about the text functionality see <type scope="com::sun::star::io">XTextInputStream</type>. */ -published service TextInputStream -{ - /// Interface to read text data - interface com::sun::star::io::XTextInputStream; - - /// Interface to specify the used <type scope="com::sun::star::io">XInputStream</type> - interface com::sun::star::io::XActiveDataSink; - -}; +published service TextInputStream : XTextInputStream2; }; }; }; }; diff --git a/udkapi/com/sun/star/io/XTextInputStream2.idl b/udkapi/com/sun/star/io/XTextInputStream2.idl new file mode 100644 index 000000000000..59c5b9cc2301 --- /dev/null +++ b/udkapi/com/sun/star/io/XTextInputStream2.idl @@ -0,0 +1,48 @@ +/* -*- 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 __com_sun_star_io_XTextInputStream2_idl__ +#define __com_sun_star_io_XTextInputStream2_idl__ + +#include <com/sun/star/io/XTextInputStream.idl> +#include <com/sun/star/io/XActiveDataSink.idl> + + + +module com { module sun { module star { module io { + +/** Provides a unified interface for the new-style service TextInputStream. + + @since LibreOffice 4.1 + */ +published interface XTextInputStream2 +{ + /// Interface to read text data + interface com::sun::star::io::XTextInputStream; + + /// Interface to specify the used <type scope="com::sun::star::io">XInputStream</type> + interface com::sun::star::io::XActiveDataSink; + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |