From 74b274602a5a76b949f6d1a521b343688693090b Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Tue, 27 Mar 2012 20:42:51 +0200 Subject: add interface XDumper for qa/automated testing --- offapi/com/sun/star/modules.idl | 3 ++ offapi/com/sun/star/qa/XDumper.idl | 65 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 offapi/com/sun/star/qa/XDumper.idl (limited to 'offapi/com') diff --git a/offapi/com/sun/star/modules.idl b/offapi/com/sun/star/modules.idl index 6ef7dca55d37..421d4c7e9235 100644 --- a/offapi/com/sun/star/modules.idl +++ b/offapi/com/sun/star/modules.idl @@ -142,6 +142,9 @@ module rendering {}; /// Interfaces to access (UI) resource files. module resource {}; +/// Interfaces for QA and automated tests +module qa {}; + /// Interfaces for scanner control. module scanner {}; diff --git a/offapi/com/sun/star/qa/XDumper.idl b/offapi/com/sun/star/qa/XDumper.idl new file mode 100644 index 000000000000..4eebb030b55f --- /dev/null +++ b/offapi/com/sun/star/qa/XDumper.idl @@ -0,0 +1,65 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * Version: MPL 1.1 / GPLv3+ / LGPLv3+ + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License or as specified alternatively below. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * Major Contributor(s): + * Copyright (C) 2012 Markus Mohrhard (initial developer) + * + * All Rights Reserved. + * + * For minor contributions see the git repository. + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 3 or later (the "GPLv3+"), or + * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), + * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable + * instead of those above. + */ + +#ifndef com_sun_star_qa_XDumper_idl +#define com_sun_star_qa_XDumper_idl + +#include + +module com +{ +module sun +{ +module star +{ +module qa +{ + +/** + * Dumps the content into a string. + * This is an internal interface and should not be used outside of Libreoffice source code + */ +interface XDumper : com::sun::star::uno::XInterface +{ + /** + * dump the content into a string + * @since LibreOffice 3.6 + */ + + string dump(); +}; + +} ; // chart2 +} ; // com +} ; // sun +} ; // star + + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit v1.2.3