00001 #ifndef INCLUDED_BUTTON 00002 #define INCLUDED_BUTTON 00003 00004 class Button { 00005 public: 00006 int push; 00007 int hold; 00008 int release; 00009 00010 Button(void) : push(0), hold(0), release(0) {} 00011 00012 void push_work(void); 00013 void release_work(void); 00014 int isPush(void); 00015 int isHold(void); 00016 int isRelease(void); 00017 }; 00018 00019 #endif