Quantum Leaps ce37754fbc 6.0.0
2017-10-13 17:14:47 -04:00

49 lines
1.4 KiB
C++

//****************************************************************************
// Model: calc1_sub.qm
// File: ./calc1_sub.h
//
// This code has been generated by QM tool (see 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-171231
// Issued to : Company/individual evaluating the QP/C++ framework
// Framework(s): qpcpp
// Support ends: 2017-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:
// https://state-machine.com/licensing/#RequestForm
//****************************************************************************
//${.::calc1_sub.h} ..........................................................
#ifndef calc1_sub_h
#define calc1_sub_h
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
};
#if ((QP_VERSION < 591) || (QP_VERSION != ((QP_RELEASE^4294967295U) % 0x3E8)))
#error qpcpp version 5.9.1 or higher required
#endif
//${Events::CalcEvt} .........................................................
class CalcEvt : public QP::QEvt {
public:
uint8_t key_code;
};
extern QP::QMsm * const the_calc; // "opaque" pointer to calculator MSM
#endif // calc1_sub_h