mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
Origin commit data
------------------
Branch: master
Commit: 4dc1171253
Author: max_10 <max_10@gmx.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
52 lines
1007 B
C
52 lines
1007 B
C
#ifndef __MMI_H_
|
|
#define __MMI_H_
|
|
|
|
#define MAX_MMI_ITEMS 40
|
|
#define MAX_MMI_TEXT_LEN 255
|
|
#define MAX_MMI_CHOICE_TEXT_LEN 255
|
|
|
|
typedef enum {
|
|
MMI_TOP_MENU_SUBS = 1,
|
|
MMI_TOP_MENU_EVENTS,
|
|
MMI_TOP_MENU_TOKENS,
|
|
MMI_TOP_MENU_PIN,
|
|
MMI_TOP_MENU_MATURE,
|
|
MMI_TOP_MENU_ABOUT
|
|
} MMI_MENU_CURRENT;
|
|
|
|
typedef enum {
|
|
MMI_MENU_LEVEL_MAIN = 0,
|
|
MMI_MENU_LEVEL_MATURE,
|
|
MMI_MENU_LEVEL_ASK_PIN_MATURE
|
|
} MMI_MENU_LEVEL;
|
|
|
|
typedef enum {
|
|
MMI_PIN_LEVEL_ASK_OLD = 0,
|
|
MMI_PIN_LEVEL_CHECK_CURRENT,
|
|
MMI_PIN_LEVEL_ASK_REPEAT,
|
|
MMI_PIN_LEVEL_CHECK_AND_CHANGE
|
|
} MMI_PIN_LEVEL;
|
|
|
|
typedef struct {
|
|
int slot;
|
|
int choice_nb;
|
|
char title[MAX_MMI_TEXT_LEN];
|
|
char subtitle[MAX_MMI_TEXT_LEN];
|
|
char bottom[MAX_MMI_TEXT_LEN];
|
|
char choice_item[MAX_MMI_ITEMS][MAX_MMI_CHOICE_TEXT_LEN];
|
|
} MMI_MENU_LIST_INFO;
|
|
|
|
typedef struct {
|
|
int slot;
|
|
int blind;
|
|
int answerlen;
|
|
char enquiryText[MAX_MMI_TEXT_LEN];
|
|
} MMI_ENQUIRY_INFO;
|
|
|
|
/* compat */
|
|
#define enguiryText enquiryText
|
|
#define MMI_ENGUIRY_INFO MMI_ENQUIRY_INFO
|
|
|
|
#endif // __MMI_H_
|
|
|