⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 application.h

📁 嵌入式图形处理系统,emgui嵌入式图形处理系统,
💻 H
字号:
/*
 *  Application layer
 *
 *
 *  COPYRIGHT (c) 2001 - 2010.
 *  emTech System Corporation.
 *
 *  The license and distribution terms for this file may be
 *  found in found in the file LICENSE.
 */

/*	Huangf emcore@263.net
 */

#ifndef __APPLICATION_h
#define __APPLICATION_h

/* App Struct */
struct Application{
	Chain_Node		node;
	Chain_Control	WinList;
	
	int				*phCount;		/* the count of the example have actived */
	unsigned32		msgQ;			/* message list */
	unsigned32		(*appProc)();	/* the proc of message */
	unsigned32		msgBuf[4];		/* message buffer */
};

typedef struct Application Application; 
typedef struct Application *AppID;

void 		AppInitialization();
Application *FirstApplication();

/*  API for application */
Application *CreateApplication(
	void 		*appMain,
	void		*appProc,
	unsigned32	*phCount
);

void DestroyApplication(
	Application *app
);

boolean SwitchApplication(
	Application *newapp
);
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -