1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 
28 #ifndef ARY_IDL_I_REPOSYPART_HXX
29 #define ARY_IDL_I_REPOSYPART_HXX
30 
31 
32 
33 // USED SERVICES
34     // BASE CLASSES
35 #include <idl_internalgate.hxx>
36     // OTHER
37 
38 
39 namespace ary
40 {
41 namespace idl
42 {
43     class CeAdmin;
44     class TypeAdmin;
45     class NameLookup;
46 }
47 }
48 
49 
50 
51 
52 
53 namespace ary
54 {
55 namespace idl
56 {
57 
58 
59 
60 /** The idl part of the Autodoc repository.
61 */
62 class RepositoryPartition : public InternalGate
63 {
64   public:
65     // LIFECYCLE
66                         RepositoryPartition(
67                             RepositoryCenter &  i_repository );
68                         ~RepositoryPartition();
69     // INHERITED
70         // Interface Gate:
71     virtual void        Calculate_AllSecondaryInformation(
72                             const String &      i_devman_reffilepath );
73 //                            const ::autodoc::Options &
74 //                                                i_options );
75     virtual const CePilot &
76                         Ces() const;
77     virtual const TypePilot &
78                         Types() const;
79     virtual CePilot &   Ces();
80     virtual TypePilot & Types();
81 
82   private:
83     // DATA
84     RepositoryCenter *  pCenter;
85 
86     Dyn<CeAdmin>        pCes;
87     Dyn<TypeAdmin>      pTypes;
88     Dyn<NameLookup>     pNamesDictionary;
89 };
90 
91 
92 
93 
94 }   //  namespace idl
95 }   //  namespace ary
96 #endif
97