Click here to Skip to main content
15,896,606 members
Articles / Mobile Apps

Develop embedded systems based on UML state machines

Rate me:
Please Sign up or sign in to vote.
3.88/5 (9 votes)
1 Jun 2005CPOL3 min read 81.3K   1.3K   37  
This article discovers how to develop and simulate cross-platform embedded systems using the UML State Machine Wizard.
/*
FILE:ImageList.h
NOTE: The State Machine Wizard will add mapping macros between /*{{ and /*}}. Do NOT modify manually.
*/

#ifndef IMAGELIST_H
#define IMAGELIST_H

#include "sme.h"

#ifdef __cplusplus
extern "C" {
#endif

SME_BEGIN_STATE_DECLARE(ImageList)
	/*{{SME_STATE_DECLARE(ImageList)*/
	SME_STATE_DECLARE(ImageList)
	SME_MAX_STATE(ImageList)
	/*}}SME_STATE_DECLARE*/
SME_END_STATE_DECLARE

/*{{SME_BEGIN_EVENT_HANDLER(ImageList)*/
int ImageListEntry(struct SME_APP_T *pApp, struct SME_EVENT_T *pEvent);
int ImageListExit(struct SME_APP_T *pApp, struct SME_EVENT_T *pEvent);
int OnImageListEVENT_KEY_LEFTSOFT(struct SME_APP_T *pApp, struct SME_EVENT_T *pEvent);
int OnImageListEVENT_KEY_RIGHTSOFT(struct SME_APP_T *pApp, struct SME_EVENT_T *pEvent);
int OnImageListEVENT_KEY_UP(struct SME_APP_T *pApp, struct SME_EVENT_T *pEvent);
int OnImageListEVENT_KEY_DOWN(struct SME_APP_T *pApp, struct SME_EVENT_T *pEvent);
int OnImageListEVENT_IMAGE_OK(struct SME_APP_T *pApp, struct SME_EVENT_T *pEvent);
int OnImageListEVENT_IMAGE_CANCEL(struct SME_APP_T *pApp, struct SME_EVENT_T *pEvent);
/*}}SME_END_EVENT_HANDLER*/

int ImageListUpdateDisplay();

#ifdef __cplusplus
}
#endif

#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
China China
Jerome. (Free to speak, free to use.)

Comments and Discussions