1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ScriptInfoImpl.hxx,v $
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 ************************************************************************/
31 #ifndef _SCRIPTING_STORAGE_SCRIPTINFOIMPL_HXX_
32 #define _SCRIPTING_STORAGE_SCRIPTINFOIMPL_HXX_
37 #include <cppu/macros.hxx>
38 #include <rtl/ustring.hxx>
41 typedef ::std::pair
< ::rtl::OUString
, ::rtl::OUString
> str_pair
;
42 typedef ::std::map
< ::rtl::OUString
, str_pair
,
43 ::std::equal_to
< ::rtl::OUString
> > strpair_map
;
44 typedef ::std::vector
< str_pair
> props_vec
;
45 typedef ::std::map
< ::rtl::OUString
, ::std::pair
< props_vec
, strpair_map
>,
46 ::std::equal_to
< ::rtl::OUString
> > filesets_map
;
48 namespace scripting_impl
54 inline ScriptInfoImpl::ScriptInfoImpl() SAL_THROW( () )
65 inline ScriptInfoImpl::ScriptInfoImpl( const ::rtl::OUString __parcelURI
,
66 const ::rtl::OUString
& __language
,
67 const strpair_map
& __locales
,
68 const ::rtl::OUString
& __functionname
,
69 const ::rtl::OUString
& __logicalname
,
70 const langdepprops_vec
& __languagedepprops
,
71 const filesets_map
& __filesets
) SAL_THROW( () )
72 : parcelURI( __parcelURI
)
73 , language( __language
)
74 , locales( __locales
)
75 , functionname( __functionname
)
76 , logicalname( __logicalname
)
77 , languagedepprops( __languagedepprops
)
78 , filesets( __filesets
)
82 ::rtl::OUString parcelURI
;
83 ::rtl::OUString language
;
85 ::rtl::OUString functionname
;
86 ::rtl::OUString logicalname
;
87 props_vec languagedepprops
;
88 filesets_map filesets
;
93 } // namespace scripting_impl
95 #endif // _SCRIPTING_STORAGE_SCRIPTINFOIMPL_HXX_