📄 mmiwapffs.h
字号:
/*******************************************************************************
CONDAT (UK)
********************************************************************************
This software product is the property of Condat (UK) Ltd and may not be
disclosed to any third party without the express permission of the owner.
********************************************************************************
$Project name:
$Project code:
$Module:
$File: MmiWapFfs.h
$Revision:
$Author: Condat(UK)
$Date:
********************************************************************************
Description:
Data structures, constants and function prototypes for WAP flash handling.
********************************************************************************
$History: MmiWapFfs.h
15/05/2003 - SPR#1983 - SH - Updated to latest from 1.6.3 version.
$End
*******************************************************************************/
#ifndef _DEF_MMI_FFS_H_
#define _DEF_MMI_FFS_H_
#include "Ffs.h"
#ifndef ATBDATA
#include "ATBData.h"
#endif
/* FlashDataWap - Data structure for WAP Data file */
typedef struct
{
UBYTE ProfileId; /* Last profile used */
UBYTE Status; /* Stores status flags, inc save history, scale images */
UBYTE no_of_profiles; /* Number of profiles stored */
UBYTE no_of_history; /* Number of history entries */
USHORT History[MAX_HISTORY][CARD_TITLE_MAX_LEN+NUMBER_PADDING+1]; /* History card names */
char HistoryURL[MAX_HISTORY][URL_MAX_LEN+1]; /* History URLs */
UBYTE no_of_bookmarks; /* Number of bookmarks */
USHORT Bookmarks[MAX_BOOKMARKS][CARD_TITLE_MAX_LEN+1]; /* Bookmark card names */
char BookmarksURL[MAX_BOOKMARKS][URL_MAX_LEN+1]; /* Bookmark URLs */
} FlashDataWap;
/* FlashDataWapProfiles - Data structure for WAP Profiles file */
typedef struct
{
T_WAP_PROFILE Profile[MAX_PROFILES];
} FlashDataWapProfiles;
extern FlashDataWap *WapData;
extern FlashDataWapProfiles *WapProfilesData;
/* Flash access routines */
T_FFS_RET flash_wap_init();
T_FFS_RET flash_wap_write();
T_FFS_SIZE flash_wap_read();
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -