Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
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 .
18 : */
19 :
20 : #ifndef ADC_STMSTFI2_HXX
21 : #define ADC_STMSTFI2_HXX
22 :
23 : // USED SERVICES
24 : // BASE CLASSES
25 : #include <tokens/stmstat2.hxx>
26 : // COMPONENTS
27 : // PARAMETERS
28 :
29 :
30 : class TkpContext;
31 :
32 : /**
33 : **/
34 168 : class StmBoundsStatu2 : public StmStatu2
35 : {
36 : public:
37 : // LIFECYCLE
38 : StmBoundsStatu2(
39 : TkpContext & i_rFollowUpContext,
40 : uintt i_nStatusFunctionNr,
41 : bool i_bIsDefault );
42 : // INQUIRY
43 : TkpContext * FollowUpContext();
44 : uintt StatusFunctionNr() const;
45 : virtual bool IsADefault() const;
46 :
47 : // ACCESS
48 : virtual StmBoundsStatu2 *
49 : AsBounds();
50 :
51 : private:
52 : TkpContext * pFollowUpContext;
53 : uintt nStatusFunctionNr;
54 : bool bIsDefault;
55 : };
56 :
57 : inline TkpContext *
58 1928025 : StmBoundsStatu2::FollowUpContext()
59 1928025 : { return pFollowUpContext; }
60 : inline uintt
61 1928025 : StmBoundsStatu2::StatusFunctionNr() const
62 1928025 : { return nStatusFunctionNr; }
63 :
64 :
65 : #endif
66 :
67 :
68 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|