initial commit
This commit is contained in:
commit
44a768a6c0
6 changed files with 278 additions and 0 deletions
19
main.cpp
Normal file
19
main.cpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#include "state_machine.h"
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main()
|
||||
{
|
||||
StateMachine mach(Boot);
|
||||
mach.print();
|
||||
|
||||
mach.transitionTo(Gallery);
|
||||
mach.transitionTo(GalleryTransition);
|
||||
mach.transitionTo(CaptureStill);
|
||||
mach.transitionTo(Settings);
|
||||
mach.transitionTo(SettingsTransition);
|
||||
|
||||
return 0;
|
||||
};
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue