2010-10-27 13:11:31 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2002-09-20 13:37:46 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-11 09:45:00 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2002-09-20 13:37:46 +00:00
|
|
|
*
|
2010-02-12 15:01:35 +01:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2002-09-20 13:37:46 +00:00
|
|
|
*
|
2008-04-11 09:45:00 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2002-09-20 13:37:46 +00:00
|
|
|
*
|
2008-04-11 09:45:00 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2002-09-20 13:37:46 +00:00
|
|
|
*
|
2008-04-11 09:45:00 +00:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2002-09-20 13:37:46 +00:00
|
|
|
*
|
2008-04-11 09:45:00 +00:00
|
|
|
* OpenOffice.org 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 version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2002-09-20 13:37:46 +00:00
|
|
|
*
|
2008-04-11 09:45:00 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2002-09-20 13:37:46 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
2002-09-23 13:08:29 +00:00
|
|
|
#ifndef __SCRIPT_FRAMEWORK_STORAGE_SCRIPTINFO_HXX_
|
|
|
|
#define __SCRIPT_FRAMEWORK_STORAGE_SCRIPTINFO_HXX_
|
2002-09-20 13:37:46 +00:00
|
|
|
|
2002-11-06 15:26:40 +00:00
|
|
|
#include <cppuhelper/implbase1.hxx> // helper for component factory
|
2002-09-20 13:37:46 +00:00
|
|
|
|
|
|
|
#include <com/sun/star/beans/XPropertySet.hpp>
|
|
|
|
|
|
|
|
#include <drafts/com/sun/star/script/framework/storage/XScriptInfo.hpp>
|
2002-10-24 09:37:53 +00:00
|
|
|
|
2002-10-17 09:04:15 +00:00
|
|
|
#include "ScriptData.hxx"
|
2002-09-20 13:37:46 +00:00
|
|
|
|
2002-10-24 09:37:53 +00:00
|
|
|
namespace scripting_impl
|
|
|
|
{
|
2002-10-01 09:45:14 +00:00
|
|
|
// for simplification
|
|
|
|
#define css ::com::sun::star
|
|
|
|
#define dcsssf ::drafts::com::sun::star::script::framework
|
2002-09-20 13:37:46 +00:00
|
|
|
|
2002-11-06 15:26:40 +00:00
|
|
|
class ScriptInfo : public ::cppu::WeakImplHelper1< dcsssf::storage::XScriptInfo >
|
2002-09-20 13:37:46 +00:00
|
|
|
{
|
|
|
|
public:
|
2002-11-06 15:26:40 +00:00
|
|
|
explicit ScriptInfo( const ScriptData & scriptData, sal_Int32 storageID );
|
2002-09-20 13:37:46 +00:00
|
|
|
virtual ~ScriptInfo();
|
|
|
|
|
|
|
|
// XScriptInfo
|
2002-10-24 09:37:53 +00:00
|
|
|
virtual ::rtl::OUString SAL_CALL getLogicalName()
|
|
|
|
throw ( css::uno::RuntimeException );
|
2002-10-01 09:45:14 +00:00
|
|
|
virtual ::rtl::OUString SAL_CALL getDescription()
|
2002-10-24 09:37:53 +00:00
|
|
|
throw ( css::uno::RuntimeException ) ;
|
|
|
|
virtual ::rtl::OUString SAL_CALL getLanguage() throw ( css::uno::RuntimeException );
|
2002-10-23 13:22:05 +00:00
|
|
|
virtual ::rtl::OUString SAL_CALL getFunctionName()
|
2002-10-24 09:37:53 +00:00
|
|
|
throw ( css::uno::RuntimeException );
|
|
|
|
virtual ::rtl::OUString SAL_CALL getParcelURI()
|
|
|
|
throw ( css::uno::RuntimeException );
|
2002-10-23 13:22:05 +00:00
|
|
|
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL
|
2002-10-24 09:37:53 +00:00
|
|
|
getLanguageProperties() throw ( css::uno::RuntimeException );
|
2002-10-31 10:52:58 +00:00
|
|
|
virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getFileSetNames()
|
2002-10-30 15:12:44 +00:00
|
|
|
throw ( css::uno::RuntimeException );
|
2002-10-31 10:52:58 +00:00
|
|
|
virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL
|
2002-10-30 15:12:44 +00:00
|
|
|
getFilesInFileSet( const ::rtl::OUString & fileSetName )
|
|
|
|
throw ( css::uno::RuntimeException );
|
2002-09-20 13:37:46 +00:00
|
|
|
|
2002-09-27 11:16:30 +00:00
|
|
|
private:
|
2002-10-17 09:04:15 +00:00
|
|
|
ScriptData m_scriptData;
|
|
|
|
sal_Int32 m_storageID;
|
2002-09-20 13:37:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
#endif // define __SCRIPTING_STORAGE...
|
2010-10-27 13:11:31 +01:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|