Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MPU6050_SIM5320_TEST
Fork of KOPIRANO_cell_locker by
CaseFSM/include/PhoneUndetected.h@2:aabc92901e25, 2017-11-13 (annotated)
- Committer:
- suads
- Date:
- Mon Nov 13 15:48:57 2017 +0000
- Revision:
- 2:aabc92901e25
- Parent:
- 1:75966605a6a3
first commit cell_locker
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
suads | 1:75966605a6a3 | 1 | #ifndef CASEFSM_PHONEUNDETECTED_H_ |
suads | 1:75966605a6a3 | 2 | #define CASEFSM_PHONEUNDETECTED_H_ |
suads | 1:75966605a6a3 | 3 | |
suads | 1:75966605a6a3 | 4 | #include <CaseState.h> |
suads | 1:75966605a6a3 | 5 | |
suads | 1:75966605a6a3 | 6 | class CaseFsmStates; |
suads | 1:75966605a6a3 | 7 | |
suads | 1:75966605a6a3 | 8 | class PhoneUndetected : public CaseState { |
suads | 1:75966605a6a3 | 9 | public: |
suads | 1:75966605a6a3 | 10 | PhoneUndetected(CaseFsmStates& states, Timer& timer); |
suads | 1:75966605a6a3 | 11 | CaseState* handle(SwitchPosition& event); |
suads | 1:75966605a6a3 | 12 | |
suads | 1:75966605a6a3 | 13 | private: |
suads | 1:75966605a6a3 | 14 | unsigned timeForLongPress_; |
suads | 1:75966605a6a3 | 15 | |
suads | 1:75966605a6a3 | 16 | }; |
suads | 1:75966605a6a3 | 17 | |
suads | 1:75966605a6a3 | 18 | #endif /* ifndef CASEFSM_PHONEUNDETECTED_H_ */ |