1*6998d047SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*6998d047SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*6998d047SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*6998d047SAndrew Rist * distributed with this work for additional information 6*6998d047SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*6998d047SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*6998d047SAndrew Rist * "License"); you may not use this file except in compliance 9*6998d047SAndrew Rist * with the License. You may obtain a copy of the License at 10*6998d047SAndrew Rist * 11*6998d047SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*6998d047SAndrew Rist * 13*6998d047SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*6998d047SAndrew Rist * software distributed under the License is distributed on an 15*6998d047SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*6998d047SAndrew Rist * KIND, either express or implied. See the License for the 17*6998d047SAndrew Rist * specific language governing permissions and limitations 18*6998d047SAndrew Rist * under the License. 19*6998d047SAndrew Rist * 20*6998d047SAndrew Rist *************************************************************/ 21*6998d047SAndrew Rist 22*6998d047SAndrew Rist 23cdf0e10cSrcweir #ifndef _SCRIPT_FRAMEWORK_STORAGE_SCRIPT_ELEMENT_HXX_ 24cdf0e10cSrcweir #define _SCRIPT_FRAMEWORK_STORAGE_SCRIPT_ELEMENT_HXX_ 25cdf0e10cSrcweir 26cdf0e10cSrcweir #include <osl/mutex.hxx> 27cdf0e10cSrcweir 28cdf0e10cSrcweir #include "ScriptData.hxx" 29cdf0e10cSrcweir 30cdf0e10cSrcweir #include "XMLElement.hxx" 31cdf0e10cSrcweir 32cdf0e10cSrcweir namespace scripting_impl 33cdf0e10cSrcweir { 34cdf0e10cSrcweir // for simplification 35cdf0e10cSrcweir #define css ::com::sun::star 36cdf0e10cSrcweir #define dcsssf ::drafts::com::sun::star::script::framework 37cdf0e10cSrcweir 38cdf0e10cSrcweir class ScriptElement : public ::scripting_impl::XMLElement 39cdf0e10cSrcweir { 40cdf0e10cSrcweir public: 41cdf0e10cSrcweir /** 42cdf0e10cSrcweir Construct a ScriptElement from a ScriptData object 43cdf0e10cSrcweir 44cdf0e10cSrcweir @param sII 45cdf0e10cSrcweir the ScriptData Object 46cdf0e10cSrcweir */ 47cdf0e10cSrcweir explicit ScriptElement( ScriptData & sII ); 48cdf0e10cSrcweir ~ScriptElement() SAL_THROW (()); 49cdf0e10cSrcweir 50cdf0e10cSrcweir private: 51cdf0e10cSrcweir ScriptData m_sII; 52cdf0e10cSrcweir 53cdf0e10cSrcweir }; 54cdf0e10cSrcweir 55cdf0e10cSrcweir } 56cdf0e10cSrcweir 57cdf0e10cSrcweir #endif 58