1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 #ifndef __SCRIPT_FRAMEWORK_STORAGE_SCRIPTINFO_HXX_
30 #define __SCRIPT_FRAMEWORK_STORAGE_SCRIPTINFO_HXX_
32 #include <cppuhelper/implbase1.hxx> // helper for component factory
34 #include <com/sun/star/beans/XPropertySet.hpp>
36 #include <drafts/com/sun/star/script/framework/storage/XScriptInfo.hpp>
38 #include "ScriptData.hxx"
40 namespace scripting_impl
43 #define css ::com::sun::star
44 #define dcsssf ::drafts::com::sun::star::script::framework
46 class ScriptInfo
: public ::cppu::WeakImplHelper1
< dcsssf::storage::XScriptInfo
>
49 explicit ScriptInfo( const ScriptData
& scriptData
, sal_Int32 storageID
);
50 virtual ~ScriptInfo();
53 virtual ::rtl::OUString SAL_CALL
getLogicalName()
54 throw ( css::uno::RuntimeException
);
55 virtual ::rtl::OUString SAL_CALL
getDescription()
56 throw ( css::uno::RuntimeException
) ;
57 virtual ::rtl::OUString SAL_CALL
getLanguage() throw ( css::uno::RuntimeException
);
58 virtual ::rtl::OUString SAL_CALL
getFunctionName()
59 throw ( css::uno::RuntimeException
);
60 virtual ::rtl::OUString SAL_CALL
getParcelURI()
61 throw ( css::uno::RuntimeException
);
62 virtual css::uno::Reference
< css::beans::XPropertySet
> SAL_CALL
63 getLanguageProperties() throw ( css::uno::RuntimeException
);
64 virtual css::uno::Sequence
< ::rtl::OUString
> SAL_CALL
getFileSetNames()
65 throw ( css::uno::RuntimeException
);
66 virtual css::uno::Sequence
< ::rtl::OUString
> SAL_CALL
67 getFilesInFileSet( const ::rtl::OUString
& fileSetName
)
68 throw ( css::uno::RuntimeException
);
71 ScriptData m_scriptData
;
72 sal_Int32 m_storageID
;
76 #endif // define __SCRIPTING_STORAGE...
78 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */