62 lines
2.0 KiB
C++
Raw Normal View History

2022-08-11 15:36:19 -04:00
//$file${.::calc1.hpp} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
2018-10-25 11:13:01 -04:00
//
2016-09-01 11:58:57 -04:00
// Model: calc1.qm
2019-10-27 12:26:31 -04:00
// File: ${.::calc1.hpp}
2014-04-13 21:35:34 -04:00
//
2023-01-06 12:56:50 -05:00
// This code has been generated by QM 5.2.4 <www.state-machine.com/qm>.
2014-04-13 21:35:34 -04:00
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
//
2022-08-11 15:36:19 -04:00
// SPDX-License-Identifier: GPL-3.0-or-later
2014-04-13 21:35:34 -04:00
//
2022-08-11 15:36:19 -04:00
// This generated code is open source software: you can redistribute it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation.
2018-10-25 11:13:01 -04:00
//
2022-08-11 15:36:19 -04:00
// This code is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
// more details.
//
// NOTE:
// Alternatively, this generated code may be distributed under the terms
// of Quantum Leaps commercial licenses, which expressly supersede the GNU
// General Public License and are specifically designed for licensees
// interested in retaining the proprietary status of their code.
//
// Contact information:
// <www.state-machine.com/licensing>
// <info@state-machine.com>
//
//$endhead${.::calc1.hpp} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-10-27 12:26:31 -04:00
#ifndef CALC1_HPP
#define CALC1_HPP
2014-04-13 21:35:34 -04:00
enum CalcSignals {
C_SIG = QP::Q_USER_SIG,
CE_SIG,
DIGIT_0_SIG,
DIGIT_1_9_SIG,
POINT_SIG,
OPER_SIG,
EQUALS_SIG,
OFF_SIG
};
2022-08-11 15:36:19 -04:00
//$declare${Events::CalcEvt} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
//${Events::CalcEvt} .........................................................
2014-04-13 21:35:34 -04:00
class CalcEvt : public QP::QEvt {
public:
uint8_t key_code;
2022-08-11 15:36:19 -04:00
}; // class CalcEvt
//$enddecl${Events::CalcEvt} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
//$declare${SMs::the_calc} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
2014-04-13 21:35:34 -04:00
2022-08-11 15:36:19 -04:00
//${SMs::the_calc} ...........................................................
2019-03-28 11:59:31 -04:00
extern QP::QHsm * const the_calc;
2022-08-11 15:36:19 -04:00
//$enddecl${SMs::the_calc} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2014-04-13 21:35:34 -04:00
2019-10-27 12:26:31 -04:00
#endif // CALC1_HPP
2023-01-06 12:56:50 -05:00