[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/cp/ps/driver/inc/misc/drvs_headsetkey.h b/cp/ps/driver/inc/misc/drvs_headsetkey.h
new file mode 100644
index 0000000..3c496e7
--- /dev/null
+++ b/cp/ps/driver/inc/misc/drvs_headsetkey.h
@@ -0,0 +1,39 @@
+/*******************************************************************************
+ * 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