fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / autodoc / source / parser_i / inc / s2_luidl / pe_vari2.hxx
blob3eca7567e3c7cf84705f77acc725cf1585da46aa
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_VARI2_HXX
21 #define ADC_UIDL_PE_VARI2_HXX
25 // USED SERVICES
26 // BASE CLASSES
27 #include <s2_luidl/parsenv2.hxx>
28 #include <s2_luidl/pestate.hxx>
29 // COMPONENTS
30 // PARAMETERS
33 namespace csi
35 namespace uidl
39 class PE_Type;
42 class PE_Variable : public UnoIDL_PE,
43 public ParseEnvState
45 public:
46 PE_Variable(
47 ary::idl::Type_id & i_rResult_Type,
48 String & i_rResult_Name );
49 virtual void EstablishContacts(
50 UnoIDL_PE * io_pParentPE,
51 ary::Repository &
52 io_rRepository,
53 TokenProcessing_Result &
54 o_rResult );
55 virtual ~PE_Variable();
57 virtual void ProcessToken(
58 const Token & i_rToken );
60 virtual void Process_Default();
61 virtual void Process_Identifier(
62 const TokIdentifier &
63 i_rToken );
64 virtual void Process_Punctuation(
65 const TokPunctuation &
66 i_rToken );
67 virtual void Process_BuiltInType(
68 const TokBuiltInType &
69 i_rToken );
70 private:
71 enum E_State
73 e_none,
74 expect_type,
75 expect_name,
76 expect_finish
79 virtual void InitData();
80 virtual void ReceiveData();
81 virtual void TransferData();
82 virtual UnoIDL_PE & MyPE();
84 // DATA
85 E_State eState;
86 ary::idl::Type_id * pResult_Type;
87 String * pResult_Name;
89 Dyn<PE_Type> pPE_Type;
94 } // namespace uidl
95 } // namespace csi
98 #endif
100 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */