blob: 3c496e7bc5ff1e359876076867bb47eb7b287312 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/*******************************************************************************
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
24typedef enum
25{
26 HEADSET_TAKEOFF, /*ÌýͲÄÃÆð */
27 HEADSET_PUTDOWN, /* ÌýͲ¹ÒÉÏ*/
28
29 MAX_HEADSET_EVENT_INT
30} T_ZDrvHeadset_EventInt;
31
32typedef VOID (*zDrvHeadset_CallbackFunc)(T_ZDrvHeadset_EventInt);
33
34
35SINT32 zDrvHeadsetkey_RegisterCallback(zDrvHeadset_CallbackFunc headset_callback);
36
37SINT32 zDrvHeadsetkey_UnregisterCallback(VOID);
38
39#endif