20 lines
321 B
C++
20 lines
321 B
C++
#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;
|
|
};
|
|
|