masterfix DEV300: #i10000# build fix
[LibreOffice.git] / automation / source / mozillaserver / xmozillatesttoolserver.idl
blob51755a67a35dfa3813ff5792a211c44da5d7751f
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef __com_sun_star_testtool_XMozillaTesttoolServer_idl__
28 #define __com_sun_star_testtool_XMozillaTesttoolServer_idl__
30 #include <com/sun/star/uno/XInterface.idl>
31 #include <com/sun/star/lang/IllegalArgumentException.idl>
32 #include <com/sun/star/connection/NoConnectException.idl>
34 //=============================================================================
36 module com { module sun { module star { module testtool {
38 //=============================================================================
39 /** Service com.sun.star.devtools.IServerProxy implements this interface.
41 [ uik(E2423753-33D6-11D1-AABE00A0-259D5623), ident( "XMozillaTesttoolServer", 1.0 ) ]
42 interface XAction : com::sun::star::uno::XInterface
44 /** execute one command
45 <BR>
47 void execute();
51 //=============================================================================
54 //=============================================================================
55 /** Service com.sun.star.devtools.IServerProxy implements this interface.
57 [ uik(E2423753-33D6-11D1-AABE00A0-259D5623), ident( "XMozillaTesttoolServer", 1.0 ) ]
58 interface XActionControl : XAction
60 /** execute one command
61 <BR>
63 void execute();
67 //=============================================================================
70 //=============================================================================
71 /** Service com.sun.star.devtools.IServerProxy implements this interface.
73 [ uik(E2423753-33D6-11D1-AABE00A0-259D5623), ident( "XMozillaTesttoolServer", 1.0 ) ]
74 interface XActionCommand : XAction
76 /** execute one command
77 <BR>
79 void execute();
83 //=============================================================================
84 /** Service com.sun.star.devtools.IServerProxy implements this interface.
86 [ uik(E2423743-33D6-11D1-AABE00A0-259D5623), ident( "XActionFlow", 1.0 ) ]
87 interface XActionFlow : XAction
89 /** execute one command
90 <BR>
92 void execute();
96 //=============================================================================
98 }; }; }; };
100 //=============================================================================
102 module com { module sun { module star { module testtool {
105 enum ResultType
107 SEQUENCE, /// command with SEQUENCE has been executed
108 ERROR, /// An error has ocured
109 RESULT, /// Result of a request
110 ASSERTION, /// An Assertion has been captured
111 UI_INFO /// Info about the UserInterfaace
114 //=============================================================================
115 /** Service com.sun.star.devtools.IServerProxy implements this interface.
117 [ uik(E2426453-33D6-11D1-AABE00A0-259D5623), ident( "XResult", 1.0 ) ]
118 interface XResult : com::sun::star::uno::XInterface
120 /** execute one command
121 <BR>
123 void SetResultType( [in] ResultType aType );
124 ResultType GetResultType();
126 void SetValue( [in] any Value );
127 any GetValue();
130 //=============================================================================
132 }; }; }; };
134 //=============================================================================
136 module com { module sun { module star { module testtool {
138 //=============================================================================
139 /** Service com.sun.star.devtools.IServerProxy implements this interface.
141 [ uik(E2446735-33D6-11D1-AABE00A0-259D5623), ident( "XMozillaTesttoolServer", 1.0 ) ]
142 interface XMozillaTesttoolServer : com::sun::star::uno::XInterface
144 /** Control the Mozilla Browser
145 <BR>
147 [oneway] void execute( [in] XAction aAction );
148 // sequence < XResult > getResults( [in] boolean bBlock ); /// bBoch = TRUE means to wait for at least 1 result
152 //=============================================================================
154 }; }; }; };
157 #endif