merge the formfield patch from ooo-build
[ooovba.git] / autodoc / source / ary / inc / reposy.hxx
bloba3724a8ef18768a188da482255071bf97ce5891d
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: reposy.hxx,v $
10 * $Revision: 1.6 $
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 ARY_REPOSY_HXX
32 #define ARY_REPOSY_HXX
34 // BASE CLASSES
35 #include <ary/ary.hxx>
36 // USED SERVICES
37 #include <cosv/ploc_dir.hxx>
39 namespace ary
41 namespace cpp
43 class InternalGate;
45 namespace idl
47 class InternalGate;
49 } // namespace ary
54 namespace ary
58 /** Implements ::ary::Repository.
60 @see Repository
63 class RepositoryCenter : public ::ary::Repository
65 public:
66 // LIFECYCLE
67 RepositoryCenter();
68 virtual ~RepositoryCenter();
70 // INHERITED
71 // Interface Repository:
72 virtual const cpp::Gate & Gate_Cpp() const;
73 virtual const idl::Gate & Gate_Idl() const;
74 virtual const String & Title() const;
75 virtual cpp::Gate & Gate_Cpp();
76 virtual idl::Gate & Gate_Idl();
77 virtual void Set_Title(const String & i_sName );
79 private:
80 // DATA
81 String sDisplayedName; /// Name to be displayed for human users.
82 csv::ploc::Directory
83 aLocation;
84 Dyn<cpp::InternalGate>
85 pCppPartition;
86 Dyn<idl::InternalGate>
87 pIdlPartition;
93 } // namespace ary
94 #endif