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: reposy.cxx,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 ************************************************************************/
35 // NOT FULLY DECLARED SERVICES
36 #include <cpp_internalgate.hxx>
37 #include <idl_internalgate.hxx>
44 //***************** Repository ************//
49 return *new RepositoryCenter
;
55 RepositoryCenter::RepositoryCenter()
61 pCppPartition
= & cpp::InternalGate::Create_Partition_(*this);
62 pIdlPartition
= & idl::InternalGate::Create_Partition_(*this);
65 RepositoryCenter::~RepositoryCenter()
69 const ::ary::cpp::Gate
&
70 RepositoryCenter::Gate_Cpp() const
72 csv_assert(pCppPartition
);
73 return *pCppPartition
;
76 const ::ary::idl::Gate
&
77 RepositoryCenter::Gate_Idl() const
79 csv_assert(pIdlPartition
);
80 return *pIdlPartition
;
84 RepositoryCenter::Title() const
86 return sDisplayedName
;
91 RepositoryCenter::Gate_Cpp()
93 csv_assert(pCppPartition
);
94 return *pCppPartition
;
98 RepositoryCenter::Gate_Idl()
100 csv_assert(pIdlPartition
);
101 return *pIdlPartition
;
105 RepositoryCenter::Set_Title(const String
& i_sName
)
107 sDisplayedName
= i_sName
;
113 //********************* Repository Type Info Data ****************//
115 // !!! IMPORTANT - NEVER DELETE OR CHANGE - ADDING ALLOWED
152 TemplateInstance 1235
155 OperationMemberPtr 1260
197 ExplicitNameRoom 2204
198 TemplateParamType 2205