#ifndef	_APLMSG_H
#define	_APLMSG_H

#ifndef	__CCI__
typedef	struct
{	UCHAR	msgType;
	void	*p;
} APLMSG_T;
#endif

#define	APLMSG_NOTHING		(0)
#define	APLMSG_FILENAME		(1)
#define	APLMSG_DRIVE		(2)		/* ファイルマネージャが使用	*/
#define	APLMSG_PATHNAME		(3)		/* ファイルマネージャが使用	*/
#define	APLMSG_SETSUBNAME	(4)		/* Look "apl035.c"			*/
#define	APLMSG_OPTION		(5)		/* オプション設定			*/
#define	APLMSG_CHKEXIT		(6)		/* 終了の確認				*/
#define	APLMSG_ASLITEM		(7)		/* アプリセレクタのアイテム	*/
#define	APLMSG_MEMFLUSH		(8)		/* メモリ対策用				*/
#define	APLMSG_DSPIGNORE	(9)		/* 書き換え禁止				*/

#ifndef	__CCI__
typedef	struct
{	char	fn[128];
} APLMSG_FILENAME_T;

typedef	struct
{	SHORT				drv;	/* ドライブ番号	*/
	UCHAR				typ;	/* ドライブ種別	*/
} APLMSG_DRIVE_T;

typedef	struct
{	char		pathname[128];
	UCHAR		attr;			/* ファイル属性		*/
	SHORT		type;			/* ファイルタイプ	*/
	SHORT		icon;			/* アイコン番号		*/
} APLMSG_PATHNAME_T;

typedef	struct
{	size_t		msgLen;			/* メッセッージの長さ	*/
} APLMSG_SETSUBNAME_T;

typedef	struct					/* オプションパラメータ	*/
{	int		argc;
	char	**argv;
} APLMSG_OPTION_T;
#endif

#endif
