fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / autodoc / source / parser_i / inc / s2_luidl / cx_idlco.hxx
blobd32b57aa8f166ec9194c22d9740d9e3b9a677025
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 LUIDL_CX_IDLCO_HXX
21 #define LUIDL_CX_IDLCO_HXX
23 // USED SERVICES
24 // BASE CLASSES
25 #include <tokens/tkpcont2.hxx>
26 // COMPONENTS
27 #include <tokens/tkpstam2.hxx>
28 // PARAMETERS
31 namespace csi
33 namespace uidl
36 class Token_Receiver;
37 class Token;
39 /**
41 class Context_UidlCode : public TkpContext,
42 private StateMachineContext
44 public:
45 // LIFECYCLE
46 Context_UidlCode(
47 Token_Receiver & o_rReceiver,
48 DYN TkpDocuContext &
49 let_drContext_Docu );
50 ~Context_UidlCode();
51 // OPERATORS
53 // OPERATIONS
54 virtual void ReadCharChain(
55 CharacterSource & io_rText );
56 virtual bool PassNewToken();
58 // INQUIRY
59 virtual TkpContext &
60 FollowUpContext();
61 private:
62 // SERVICE FUNCTIONS
63 void PerformStatusFunction(
64 uintt i_nStatusSignal,
65 UINT16 i_nTokenId,
66 CharacterSource & io_rText );
67 void SetupStateMachine();
69 // DATA
70 StateMachin2 aStateMachine;
71 Token_Receiver * pReceiver;
73 // Contexts
74 Dyn<TkpDocuContext> pDocuContext;
76 Dyn<TkpContext> dpContext_MLComment;
77 Dyn<TkpContext> dpContext_SLComment;
78 Dyn<TkpContext> dpContext_Preprocessor;
79 Dyn<TkpContext> dpContext_Assignment;
81 // Temporary data, used during ReadCharChain()
82 Dyn<Token> pNewToken;
83 ::TkpContext * pFollowUpContext;
87 } // namespace uidl
88 } // namespace csi
90 #endif
92 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */