diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-10-22 13:16:43 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-10-22 13:16:43 +0000 |
commit | 151365df4890114d135c9b79a4873c623d6d25c8 (patch) | |
tree | b6cb164fa17d3df25dc48fca1a2c71452d38cfe6 | |
parent | 0eb71de0b34df10419936fd053759c751f11ea9a (diff) |
INTEGRATION: CWS scriptingf6 (1.1.2); FILE ADDED
2004/08/03 12:31:40 dfoster 1.1.2.1: #i32502#
Moving Scripting Framework interfaces from drafts to com.
-rwxr-xr-x | offapi/com/sun/star/script/browse/BrowseNodeFactory.idl | 105 | ||||
-rwxr-xr-x | offapi/com/sun/star/script/browse/BrowseNodeTypes.idl | 90 |
2 files changed, 195 insertions, 0 deletions
diff --git a/offapi/com/sun/star/script/browse/BrowseNodeFactory.idl b/offapi/com/sun/star/script/browse/BrowseNodeFactory.idl new file mode 100755 index 000000000000..80871296b774 --- /dev/null +++ b/offapi/com/sun/star/script/browse/BrowseNodeFactory.idl @@ -0,0 +1,105 @@ +/************************************************************************* + * + * $RCSfile: BrowseNodeFactory.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: rt $ $Date: 2004-10-22 14:16:21 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (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.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2004 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ + +#ifndef __com_sun_star_script_browse_BrowseNodeFactory_idl__ +#define __com_sun_star_script_browse_BrowseNodeFactory_idl__ + +#ifndef __com_sun_star_script_browse_XBrowseNodeFactory_idl__ +#include <com/sun/star/script/browse/XBrowseNodeFactory.idl> +#endif + +module com { + module sun { + module star { + module script { + module browse { + +/** + This service is used to create Root XBrowseNodes. + + @since #i19268# +*/ +service BrowseNodeFactory +{ + interface XBrowseNodeFactory; +}; + +/** + The one and only BrowseNodeFactory. + + To get the singleton call getValueByName on the component context + <pre> + /singletons/com.sun.star.script.theBrowseNodeFactory + </pre> + + @since #i19268# +*/ +singleton theBrowseNodeFactory +{ + service BrowseNodeFactory; +}; + + }; + }; + }; + }; +}; +#endif diff --git a/offapi/com/sun/star/script/browse/BrowseNodeTypes.idl b/offapi/com/sun/star/script/browse/BrowseNodeTypes.idl new file mode 100755 index 000000000000..cd07388ef26f --- /dev/null +++ b/offapi/com/sun/star/script/browse/BrowseNodeTypes.idl @@ -0,0 +1,90 @@ +/************************************************************************* + * + * $RCSfile: BrowseNodeTypes.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: rt $ $Date: 2004-10-22 14:16:43 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (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.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2004 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ + +#ifndef __com_sun_star_script_browse_BrowseNodeTypes_idl__ +#define __com_sun_star_script_browse_BrowseNodeTypes_idl__ + + +module com { module sun { module star { module script { module browse { +//============================================================================== +/** + These constants define the three different types of nodes in the BrowseNode + hierarchy. +*/ +constants BrowseNodeTypes +{ + /** + Indicates node is a script + */ + const short SCRIPT = 0; + /** + Indicates node is a container + */ + const short CONTAINER = 1; + /** + Indicates node is root of the tree. + */ + const short ROOT = 2; + +}; + +}; }; }; }; }; +#endif |