fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / autodoc / source / parser_i / inc / s2_luidl / pe_servi.hxx
blob780591140f26e9a82bcb8d8c6ac5e92ff1595cb3
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef ADC_UIDL_PE_SERVI_HXX
21 #define ADC_UIDL_PE_SERVI_HXX
25 // USED SERVICES
26 // BASE CLASSES
27 #include <s2_luidl/parsenv2.hxx>
28 #include <s2_luidl/pestate.hxx>
29 // COMPONENTS
30 // PARAMETERS
32 namespace ary
34 namespace idl
36 class Service;
37 class SglIfcService;
41 namespace csi
43 namespace uidl
46 class PE_Property;
47 class PE_Type;
48 class PE_Function;
51 class PE_Service : public UnoIDL_PE,
52 public ParseEnvState
54 public:
55 PE_Service();
56 virtual ~PE_Service();
58 virtual void EstablishContacts(
59 UnoIDL_PE * io_pParentPE,
60 ary::Repository & io_rRepository,
61 TokenProcessing_Result &
62 o_rResult );
63 virtual void ProcessToken(
64 const Token & i_rToken );
66 virtual void Process_MetaType(
67 const TokMetaType & i_rToken );
68 virtual void Process_Identifier(
69 const TokIdentifier &
70 i_rToken );
71 virtual void Process_Punctuation(
72 const TokPunctuation &
73 i_rToken );
74 virtual void Process_Stereotype(
75 const TokStereotype &
76 i_rToken );
77 virtual void Process_Needs();
78 virtual void Process_Observes();
79 virtual void Process_Default();
81 private:
82 void On_Default();
84 enum E_State
86 e_none = 0,
87 need_name,
88 need_curlbr_open,
89 e_std,
90 in_property,
91 in_ifc_type,
92 in_service_type,
93 expect_ifc_separator,
94 expect_service_separator,
95 at_ignore,
96 need_finish,
97 need_base_interface, /// After ":".
98 need_curlbr_open_sib, /// After base interface in single interface based service.
99 e_std_sib, /// Standard in single interface based service.
100 e_STATES_MAX
103 virtual void InitData();
104 virtual void TransferData();
105 virtual void ReceiveData();
106 virtual UnoIDL_PE & MyPE();
108 void StartProperty();
111 // DATA
112 E_State eState;
113 String sData_Name;
114 bool bIsPreDeclaration;
115 ary::idl::Service * pCurService;
116 ary::idl::SglIfcService *
117 pCurSiService;
118 ary::idl::Ce_id nCurService; // Needed for PE_Attribute.
120 Dyn<PE_Property> pPE_Property;
121 ary::idl::Ce_id nCurParsed_Property;
123 Dyn<PE_Type> pPE_Type;
124 ary::idl::Type_id nCurParsed_Type;
126 Dyn<PE_Function> pPE_Constructor;
128 bool bOptionalMember;
133 // IMPLEMENTATION
136 } // namespace uidl
137 } // namespace csi
140 #endif
142 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */