Bump for 3.6-28
[LibreOffice.git] / autodoc / source / display / idl / hfi_method.hxx
blob55f99db17e200c71ced4524cfacf431a32562905
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 #ifndef ADC_DISPLAY_HFI_METHOD_HXX
30 #define ADC_DISPLAY_HFI_METHOD_HXX
34 // USED SERVICES
35 // BASE CLASSES
36 #include "hi_factory.hxx"
37 // COMPONENTS
38 // PARAMETERS
39 #include <ary/idl/i_param.hxx>
40 #include <ary/doc/d_oldidldocu.hxx>
42 namespace csi
44 namespace idl
46 class Parameter;
50 class HF_FunctionDeclaration;
52 class HF_IdlMethod : public HtmlFactory_Idl
54 public:
55 typedef ary::StdConstIterator<ary::idl::Parameter> param_list;
57 HF_IdlMethod(
58 Environment & io_rEnv,
59 Xml::Element & o_cell );
60 virtual ~HF_IdlMethod();
62 void Produce_byData(
63 const String & i_sName,
64 type_id i_nReturnType,
65 param_list & i_rParams,
66 type_list & i_rExceptions,
67 bool i_bOneway,
68 bool i_bEllipse,
69 const client & i_ce ) const;
70 private:
71 void write_Declaration(
72 const String & i_sName,
73 type_id i_nReturnType,
74 param_list & i_rParams,
75 type_list & i_rExceptions,
76 bool i_bOneway,
77 bool i_bEllipse ) const;
78 // void write_Param(
79 // HF_IdlTypeText & o_type,
80 // Xml::Element & o_names,
81 // const ary::idl::Parameter &
82 // i_param ) const;
84 Xml::Element * write_Param(
85 HF_FunctionDeclaration &
86 o_decl,
87 const ary::idl::Parameter &
88 i_param ) const;
89 void enter_ContentCell() const;
90 void leave_ContentCell() const;
95 // IMPLEMENTATION
99 #endif
102 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */