update dev300-m58
[ooovba.git] / automation / source / mozillaserver / xmozillatesttoolserver.idl
blobda22feef4ea2ddbd351edfe211b0c28d6f77bef4
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: xmozillatesttoolserver.idl,v $
10 * $Revision: 1.3 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_testtool_XMozillaTesttoolServer_idl__
31 #define __com_sun_star_testtool_XMozillaTesttoolServer_idl__
33 #include <com/sun/star/uno/XInterface.idl>
34 #include <com/sun/star/lang/IllegalArgumentException.idl>
35 #include <com/sun/star/connection/NoConnectException.idl>
37 //=============================================================================
39 module com { module sun { module star { module testtool {
41 //=============================================================================
42 /** Service com.sun.star.devtools.IServerProxy implements this interface.
44 [ uik(E2423753-33D6-11D1-AABE00A0-259D5623), ident( "XMozillaTesttoolServer", 1.0 ) ]
45 interface XAction : com::sun::star::uno::XInterface
47 /** execute one command
48 <BR>
50 void execute();
54 //=============================================================================
57 //=============================================================================
58 /** Service com.sun.star.devtools.IServerProxy implements this interface.
60 [ uik(E2423753-33D6-11D1-AABE00A0-259D5623), ident( "XMozillaTesttoolServer", 1.0 ) ]
61 interface XActionControl : XAction
63 /** execute one command
64 <BR>
66 void execute();
70 //=============================================================================
73 //=============================================================================
74 /** Service com.sun.star.devtools.IServerProxy implements this interface.
76 [ uik(E2423753-33D6-11D1-AABE00A0-259D5623), ident( "XMozillaTesttoolServer", 1.0 ) ]
77 interface XActionCommand : XAction
79 /** execute one command
80 <BR>
82 void execute();
86 //=============================================================================
87 /** Service com.sun.star.devtools.IServerProxy implements this interface.
89 [ uik(E2423743-33D6-11D1-AABE00A0-259D5623), ident( "XActionFlow", 1.0 ) ]
90 interface XActionFlow : XAction
92 /** execute one command
93 <BR>
95 void execute();
99 //=============================================================================
101 }; }; }; };
103 //=============================================================================
105 module com { module sun { module star { module testtool {
108 enum ResultType
110 SEQUENCE, /// command with SEQUENCE has been executed
111 ERROR, /// An error has ocured
112 RESULT, /// Result of a request
113 ASSERTION, /// An Assertion has been captured
114 UI_INFO /// Info about the UserInterfaace
117 //=============================================================================
118 /** Service com.sun.star.devtools.IServerProxy implements this interface.
120 [ uik(E2426453-33D6-11D1-AABE00A0-259D5623), ident( "XResult", 1.0 ) ]
121 interface XResult : com::sun::star::uno::XInterface
123 /** execute one command
124 <BR>
126 void SetResultType( [in] ResultType aType );
127 ResultType GetResultType();
129 void SetValue( [in] any Value );
130 any GetValue();
133 //=============================================================================
135 }; }; }; };
137 //=============================================================================
139 module com { module sun { module star { module testtool {
141 //=============================================================================
142 /** Service com.sun.star.devtools.IServerProxy implements this interface.
144 [ uik(E2446735-33D6-11D1-AABE00A0-259D5623), ident( "XMozillaTesttoolServer", 1.0 ) ]
145 interface XMozillaTesttoolServer : com::sun::star::uno::XInterface
147 /** Control the Mozilla Browser
148 <BR>
150 [oneway] void execute( [in] XAction aAction );
151 // sequence < XResult > getResults( [in] boolean bBlock ); /// bBoch = TRUE means to wait for at least 1 result
155 //=============================================================================
157 }; }; }; };
160 #endif