xref: /aoo42x/main/autodoc/source/ary/inc/reposy.hxx (revision 1c78a5d6)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef ARY_REPOSY_HXX
25 #define ARY_REPOSY_HXX
26 
27 // BASE CLASSES
28 #include <ary/ary.hxx>
29 // USED SERVICES
30 #include <cosv/ploc_dir.hxx>
31 
32 namespace ary
33 {
34 namespace cpp
35 {
36     class InternalGate;
37 }
38 namespace idl
39 {
40     class InternalGate;
41 }
42 }   // namespace ary
43 
44 
45 
46 
47 namespace ary
48 {
49 
50 
51 /** Implements ::ary::Repository.
52 
53     @see Repository
54 */
55 
56 class RepositoryCenter : public ::ary::Repository
57 {
58   public:
59     //  LIFECYCLE
60                         RepositoryCenter();
61     virtual             ~RepositoryCenter();
62 
63     // INHERITED
64         // Interface Repository:
65     virtual const cpp::Gate &   Gate_Cpp() const;
66     virtual const idl::Gate &   Gate_Idl() const;
67     virtual const String &      Title() const;
68     virtual cpp::Gate &         Gate_Cpp();
69     virtual idl::Gate &         Gate_Idl();
70     virtual void                Set_Title(const String & i_sName );
71 
72   private:
73     // DATA
74     String              sDisplayedName;     /// Name to be displayed for human users.
75     csv::ploc::Directory
76                         aLocation;
77     Dyn<cpp::InternalGate>
78                         pCppPartition;
79     Dyn<idl::InternalGate>
80                         pIdlPartition;
81 };
82 
83 
84 
85 
86 }   // namespace ary
87 #endif
88