Home | History | Annotate | Download | only in hdr
      1 /*
      2  * Copyright (C) 2014 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 /*
     18  *  DESCRIPTION:
     19  *      The xpl_dm_ServerAlertDef.h header file contains defenition for server
     20  *      alerts/prompts
     21  */
     22 
     23 #ifndef XPL_DMSERVERALERTDEF_H
     24 #define XPL_DMSERVERALERTDEF_H
     25 
     26 #include "xpl_Types.h"
     27 
     28 enum
     29 {
     30   XPL_DM_ALERT_RES_NONE,
     31   XPL_DM_ALERT_RES_NO,
     32   XPL_DM_ALERT_RES_YES,
     33   XPL_DM_ALERT_RES_CANCEL,
     34   XPL_DM_ALERT_RES_TIMEOUT,
     35 };
     36 typedef UINT8 XPL_DM_ALERT_RES_T;
     37 
     38 enum
     39 {
     40   XPL_DM_ALERT_I_ALPHA,                                      // Alphanumeric
     41   XPL_DM_ALERT_I_NUMERIC,                                    // Numeric
     42   XPL_DM_ALERT_I_DATE,                                       // Date
     43   XPL_DM_ALERT_I_TIME,                                       // Time
     44   XPL_DM_ALERT_I_PHONE_NUM,                                  // Phone Number
     45   XPL_DM_ALERT_I_IP_ADDR,                                    // IP Address
     46 };
     47 typedef UINT8 XPL_DM_ALERT_INPUT_T;
     48 
     49 enum
     50 {
     51   XPL_DM_ALERT_E_TEXT,                                       // Text
     52   XPL_DM_ALERT_E_PASSWD,                                     // Password
     53 };
     54 typedef UINT8 XPL_DM_ALERT_ECHO_T;
     55 
     56 #endif
     57