/*
 * ===================================================================
 *  Copyright (C) 2002
 *  TOSHIBA CORPORATION  Mobile Comunication Company.
 *                                              All Rights Reserved.
 * ===================================================================
 * Products  : KD9M
 * Source    : AEEKDDI.h
 * Author    : TOSHIBA
 * -------------------------------------------------------------------
 * Abstract  : BREW 儀儞僟乕岦偗僿僢僟
 * -------------------------------------------------------------------
 *
 *
 *                      EDIT HISTORY FOR MODULE
 *
 * when     who        what, where, why
 * -------- ---------- --------------------------------------------------
 * 02/06/21 TOSHIBA    New preparation.
 * 02/11/02 TOSHIBA    揹榖挔婲摦I/F捛壛
 * 02/11/15 TOSHIBA    婲摦I/F儊儞僶捛壛
 * 02/12/11 TOSHIBA    揹榖挔婲摦I/F峔憿懱尒捈偟
 */

#ifndef _AEEKDDI_H /* Double definition is prevented */
#define _AEEKDDI_H


/*劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劖
  劔	俤倁俤俶俿										劔
  劘劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劗*/
#define EVT_PPP_CHANGED         500 	// PPP愗懼姰椆僀儀儞僩	eCode   = EVT_USER,
										//						wParam  = EVT_PPP_CHANGED,
										//						dwParam = NULL

/*劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劖
  劔	俽俫俬俵乮僔儉傾僾儕働乕僔儑儞乯丂俬乛俥		劔
  劘劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劗*/
//揹榖挔婲摦俬乛俥
typedef struct _ShimAddrbookInfo {
    uint32       cbSize;               /* 峔憿懱偺僒僀僘                 */
    AEECLSID     clsid;                /* 傾僾儕働乕僔儑儞偺僋儔僗ID     */
    AEEEvent     ret_evt;              /* 姰椆捠抦偵巊梡偡傞僀儀儞僩     */
    uint16       ret_sts;              /* 姰椆僗僥乕僞僗                 */
									   /*  0 - 惓忢姰椆                  */
									   /* -1 - 奩摉崁栚側偟丄傕偟偔偼僉儍儞僙儖 */
    uint16       mode;                 /* 揹榖挔偺専嶕儌乕僪             */
    uint32       fields;               /* 庢摼偡傞崁栚                   */
    char         name[25];             /* 柤慜                           */
    char         yomi[25];             /* 傛傒偑側                       */
    char         telno1[37];           /* 揹榖斣崋侾                     */
    char         telno2[37];           /* 揹榖斣崋俀                     */
    char         mailaddr1[65];        /* E儊乕儖傾僪儗僗侾              */
    char         mailaddr2[65];        /* E儊乕儖傾僪儗僗俀              */
    uint16       group;                /* 僌儖乕僾No                     */
    uint16       memory;               /* 儊儌儕No                       */
    char         birthday[11];         /* 抋惗擔                         */
    char         hobby[21];            /* 庯枴                           */
    char         address[81];          /* 廧強                           */
    char         url[257];             /* URL                            */
    char         memo[81];             /* 儊儌                           */
    char         constellation[52];    /* 惎嵗                           */
    char         bloodtype;            /* 寣塼宆                         */
    char         location[68];         /* 埵抲忣曬                       */
} ShimAddrbookInfo;


// 揹榖挔偺専嶕儌乕僪
#define SHIM_ABK_MODE_NORMAL 		0				/* 捠忢専嶕				*/
#define SHIM_ABK_MODE_TELSEARCH		1				/* 揹榖斣崋専嶕			*/
#define SHIM_ABK_MODE_EMAILSEARCH	2				/* 俤儊乕儖傾僪儗僗専嶕 */
#define SHIM_ABK_MODE_URLSEARCH		3				/* URL専嶕				*/
#define SHIM_ABK_MODE_GPSSEARCH		4				/* GPS専嶕				*/

// 庢摼偡傞崁栚
#define	SHIM_ABK_ITEM_NAME      0x0001				/* 柤慜					*/
#define	SHIM_ABK_ITEM_YOMI      0x0002				/* 傛傒					*/
#define	SHIM_ABK_ITEM_TEL1      0x0004				/* 揹榖斣崋侾			*/
#define	SHIM_ABK_ITEM_TEL2      0x0008				/* 揹榖斣崋俀			*/
#define SHIM_ABK_ITEM_MAIL1		0x0010				/* 俤儊乕儖傾僪儗僗侾	*/
#define SHIM_ABK_ITEM_MAIL2		0x0020				/* 俤儊乕儖傾僪儗僗俀	*/
#define SHIM_ABK_ITEM_GROUP		0x0040				/* 僌儖乕僾No.			*/
#define	SHIM_ABK_ITEM_NO		0x0080				/* 儊儌儕No.			*/
#define SHIM_ABK_ITEM_BIRTH		0x0100				/* 抋惗擔				*/
#define SHIM_ABK_ITEM_HOBBY		0x0200				/* 庯枴					*/
#define SHIM_ABK_ITEM_ADDR		0x0400				/* 廧強					*/
#define	SHIM_ABK_ITEM_URL		0x0800				/* URL					*/
#define SHIM_ABK_ITEM_MEMO		0x1000				/* 儊儌					*/
#define SHIM_ABK_ITEM_CONS		0x2000				/* 惎嵗					*/
#define SHIM_ABK_ITEM_BLOOD		0x4000				/* 寣塼宆				*/
#define SHIM_ABK_ITEM_LOCATION	0x8000				/* 埵抲忣曬 			*/





//僽儔僂僓婲摦俬乛俥
typedef struct _ShimBrowserInfo {
    uint32       cbSize;               /* 峔憿懱偺僒僀僘                 */
    AEECLSID     clsid;                /* 傾僾儕働乕僔儑儞偺僋儔僗ID     */
    AEEEvent     ret_evt;              /* 姰椆捠抦偵巊梡偡傞僀儀儞僩     */
    char         url[1024];            /* 昞帵偡傞URL                    */
} ShimBrowserInfo;

//儊乕儔乕婲摦俬乛俥
typedef struct _ShimMUAInfo {
    uint32       cbSize;               /* 峔憿懱偺僒僀僘                 */
    AEECLSID     clsid;                /* 傾僾儕働乕僔儑儞偺僋儔僗ID     */
    AEEEvent     ret_evt;              /* 姰椆捠抦偵巊梡偡傞僀儀儞僩     */
    char         *to_list;             /* TO偺儕僗僩                     */
    char         *cc_list;             /* CC偺儕僗僩                     */
    char         *bcc_list;            /* BCC偺儕僗僩                    */
    char         *title;               /* 昞戣                           */
    char         *body;                /* 杮暥                           */
} ShimMUAInfo;


#endif /* _AEEKDDI_H */

