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 ADC_DISPLAY_HFI_MODULE_HXX
25 #define ADC_DISPLAY_HFI_MODULE_HXX
26 
27 
28 
29 // USED SERVICES
30     // BASE CLASSES
31 #include "hi_factory.hxx"
32     // COMPONENTS
33     // PARAMETERS
34 
35 
36 class HF_NaviSubRow;
37 
38 class HF_IdlModule : public HtmlFactory_Idl
39 {
40   public:
41                         HF_IdlModule(
42                             Environment &       io_rEnv,    // The CurDirectory() is the one of the here displayed Module.
43                             Xml::Element &      o_rOut );
44     virtual             ~HF_IdlModule();
45 
46     void                Produce_byData(
47                            const client &       i_ce ) const;
48   private:
49     typedef std::vector< const ary::idl::CodeEntity* >  ce_ptr_list;
50 
51     DYN HF_NaviSubRow & make_Navibar(
52                             const client &      i_ce ) const;
53     bool                produce_ChildList(
54                             const String &      i_sName,
55                             const String &      i_sLabel,
56                             const ce_ptr_list & i_list ) const;
57     void                produce_Link(
58                             Xml::Element &      o_row,
59                             const client *      i_ce ) const;
60     void                produce_LinkDoc(
61                             Xml::Element &      o_row,
62                             const client *      i_ce ) const;
63 };
64 
65 
66 
67 // IMPLEMENTATION
68 
69 
70 extern const String
71     C_sCePrefix_Module;
72 
73 
74 
75 
76 
77 #endif
78 
79 
80