Subversion Repositories HomeAutomation

Rev

Rev 363 | Blame | Compare with Previous | Last modification | View Log | SVN | RSS feed

  1.  
  2.  
  3. #ifndef SCHEDULER_H
  4. #define SCHEDULER_H
  5.  
  6. typedef struct _EVENT
  7. {
  8.     BOOL active;
  9.     DWORD repeat;
  10.     DWORD time;
  11.     BYTE what;
  12.     BYTE value;
  13. } EVENT;
  14.  
  15. void scheduler(void);
  16.  
  17. void loadEvents(void);
  18.  
  19. EVENT getEvent(BYTE id);
  20.  
  21. BYTE numEvents(void);
  22.  
  23. #endif
  24.  
  25.  
  26.  
  27.