29 lines
586 B
C
29 lines
586 B
C
#ifndef __MMPROFILE_STATIC_EVENT_H__
|
|
#define __MMPROFILE_STATIC_EVENT_H__
|
|
|
|
|
|
typedef enum {
|
|
MMP_InvalidEvent = 0,
|
|
MMP_RootEvent = 1,
|
|
/* User defined static events begin */
|
|
MMP_TouchPanelEvent,
|
|
/* User defined static events end. */
|
|
MMP_MaxStaticEvent
|
|
} MMP_StaticEvents;
|
|
|
|
#ifdef MMPROFILE_INTERNAL
|
|
typedef struct {
|
|
MMP_StaticEvents event;
|
|
char *name;
|
|
MMP_StaticEvents parent;
|
|
} MMP_StaticEvent_t;
|
|
|
|
static MMP_StaticEvent_t MMProfileStaticEvents[] = {
|
|
{MMP_RootEvent, "Root_Event", MMP_InvalidEvent},
|
|
{MMP_TouchPanelEvent, "TouchPanel_Event", MMP_RootEvent},
|
|
};
|
|
|
|
#endif
|
|
|
|
#endif
|