mirror of
https://github.com/QuantumLeaps/qpcpp.git
synced 2025-01-28 06:02:56 +08:00
46 lines
1.5 KiB
C++
46 lines
1.5 KiB
C++
//.$file${.::calc1.hpp} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
|
|
//
|
|
// Model: calc1.qm
|
|
// File: ${.::calc1.hpp}
|
|
//
|
|
// This code has been generated by QM 4.6.0 <www.state-machine.com/qm/>.
|
|
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
|
|
//
|
|
// This program is open source software: you can redistribute it and/or
|
|
// modify it under the terms of the GNU General Public License as published
|
|
// by the Free Software Foundation.
|
|
//
|
|
// This program 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.
|
|
//
|
|
//.$endhead${.::calc1.hpp} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
#ifndef CALC1_HPP
|
|
#define CALC1_HPP
|
|
|
|
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
|
|
};
|
|
|
|
//.$declare${Events::CalcEvt} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
|
|
//.${Events::CalcEvt} ........................................................
|
|
class CalcEvt : public QP::QEvt {
|
|
public:
|
|
uint8_t key_code;
|
|
};
|
|
//.$enddecl${Events::CalcEvt} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
//.$declare${SMs::the_calc} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
|
|
extern QP::QHsm * const the_calc;
|
|
//.$enddecl${SMs::the_calc} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
#endif // CALC1_HPP
|