mmprofile_static_event.h 586 B

12345678910111213141516171819202122232425262728
  1. #ifndef __MMPROFILE_STATIC_EVENT_H__
  2. #define __MMPROFILE_STATIC_EVENT_H__
  3. typedef enum {
  4. MMP_InvalidEvent = 0,
  5. MMP_RootEvent = 1,
  6. /* User defined static events begin */
  7. MMP_TouchPanelEvent,
  8. /* User defined static events end. */
  9. MMP_MaxStaticEvent
  10. } MMP_StaticEvents;
  11. #ifdef MMPROFILE_INTERNAL
  12. typedef struct {
  13. MMP_StaticEvents event;
  14. char *name;
  15. MMP_StaticEvents parent;
  16. } MMP_StaticEvent_t;
  17. static MMP_StaticEvent_t MMProfileStaticEvents[] = {
  18. {MMP_RootEvent, "Root_Event", MMP_InvalidEvent},
  19. {MMP_TouchPanelEvent, "TouchPanel_Event", MMP_RootEvent},
  20. };
  21. #endif
  22. #endif