mirror of
https://github.com/QuantumLeaps/qpcpp.git
synced 2025-01-14 05:42:57 +08:00
48 lines
1.5 KiB
C++
48 lines
1.5 KiB
C++
//.$file${.::calc1_sub.hpp} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
|
|
//
|
|
// Model: calc1_sub.qm
|
|
// File: ${.::calc1_sub.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 code is covered by the following QP license:
|
|
// License # : QPCPP-EVAL
|
|
// Issued to : Institution or an individual evaluating the QP/C++ framework
|
|
// Framework(s): qpcpp
|
|
// Support ends: 2020-12-31
|
|
// Product(s) :
|
|
// This license is available only for evaluation purposes and
|
|
// the generated code is still licensed under the terms of GPL.
|
|
// Please submit request for extension of the evaluaion period at:
|
|
// <www.state-machine.com/licensing/#RequestForm>
|
|
//
|
|
//.$endhead${.::calc1_sub.hpp} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
#ifndef CALC1_SUB_HPP
|
|
#define CALC1_SUB_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_SUB_HPP
|