lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | /*******************************************************************************
|
| 2 | * Copyright (C) 2007, ZTE Corporation.
|
| 3 | *
|
| 4 | * File Name: drvs_headsetkey.h
|
| 5 | * File Mark:
|
| 6 | * Description:
|
| 7 | * Others:
|
| 8 | * Version: V0.5
|
| 9 | * Author: zhangyingjun
|
| 10 | * Date: 2010-02-12
|
| 11 | * History 1:
|
| 12 | * Date:
|
| 13 | * Version:
|
| 14 | * Author:
|
| 15 | * Modification:
|
| 16 | * History 2:
|
| 17 | ********************************************************************************/
|
| 18 |
|
| 19 | #ifndef _DRVS_HEADSETKEY_H
|
| 20 | #define _DRVS_HEADSETKEY_H
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 | typedef enum
|
| 25 | {
|
| 26 | HEADSET_TAKEOFF, /*ÌýͲÄÃÆð */
|
| 27 | HEADSET_PUTDOWN, /* ÌýͲ¹ÒÉÏ*/
|
| 28 |
|
| 29 | MAX_HEADSET_EVENT_INT
|
| 30 | } T_ZDrvHeadset_EventInt;
|
| 31 |
|
| 32 | typedef VOID (*zDrvHeadset_CallbackFunc)(T_ZDrvHeadset_EventInt);
|
| 33 |
|
| 34 |
|
| 35 | SINT32 zDrvHeadsetkey_RegisterCallback(zDrvHeadset_CallbackFunc headset_callback);
|
| 36 |
|
| 37 | SINT32 zDrvHeadsetkey_UnregisterCallback(VOID);
|
| 38 |
|
| 39 | #endif |