blob: 3c496e7bc5ff1e359876076867bb47eb7b287312 [file] [log] [blame]
/*******************************************************************************
* Copyright (C) 2007, ZTE Corporation.
*
* File Name: drvs_headsetkey.h
* File Mark:
* Description:
* Others:
* Version: V0.5
* Author: zhangyingjun
* Date: 2010-02-12
* History 1:
* Date:
* Version:
* Author:
* Modification:
* History 2:
********************************************************************************/
#ifndef _DRVS_HEADSETKEY_H
#define _DRVS_HEADSETKEY_H
typedef enum
{
HEADSET_TAKEOFF, /*ÌýͲÄÃÆð */
HEADSET_PUTDOWN, /* ÌýͲ¹ÒÉÏ*/
MAX_HEADSET_EVENT_INT
} T_ZDrvHeadset_EventInt;
typedef VOID (*zDrvHeadset_CallbackFunc)(T_ZDrvHeadset_EventInt);
SINT32 zDrvHeadsetkey_RegisterCallback(zDrvHeadset_CallbackFunc headset_callback);
SINT32 zDrvHeadsetkey_UnregisterCallback(VOID);
#endif