Update ooo320-m1
[ooovba.git] / scripting / source / storage / ScriptElement.hxx
blob79c49968e5a8984a39ae721665f5a08c0ec56253
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: ScriptElement.hxx,v $
10 * $Revision: 1.9 $
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 _SCRIPT_FRAMEWORK_STORAGE_SCRIPT_ELEMENT_HXX_
31 #define _SCRIPT_FRAMEWORK_STORAGE_SCRIPT_ELEMENT_HXX_
33 #include <osl/mutex.hxx>
35 #include "ScriptData.hxx"
37 #include "XMLElement.hxx"
39 namespace scripting_impl
41 // for simplification
42 #define css ::com::sun::star
43 #define dcsssf ::drafts::com::sun::star::script::framework
45 class ScriptElement : public ::scripting_impl::XMLElement
47 public:
48 /**
49 Construct a ScriptElement from a ScriptData object
51 @param sII
52 the ScriptData Object
54 explicit ScriptElement( ScriptData & sII );
55 ~ScriptElement() SAL_THROW (());
57 private:
58 ScriptData m_sII;
64 #endif