source: svn/newcon3bcm2_21bu/nexus/app/bapp_remote.h

Last change on this file was 76, checked in by megakiss, 10 years ago

1W 대기전력을 만족시키기 위하여 POWEROFF시 튜너를 Standby 상태로 함

  • Property svn:executable set to *
File size: 1.4 KB
Line 
1/***************************************************************************
2 *     Copyright (c) 2003-2006, Broadcom Corporation
3 *     All Rights Reserved
4 *     Confidential Property of Broadcom Corporation
5 *
6 *  THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE
7 *  AGREEMENT  BETWEEN THE USER AND BROADCOM.  YOU HAVE NO RIGHT TO USE OR
8 *  EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT.
9 *
10 * $brcm_Workfile:  $
11 * $brcm_Revision:  $
12 * $brcm_Date: $
13 *
14 * Module Description:
15 *
16 * Revision History:
17 *
18 * $brcm_Log:  $
19 *
20 ***************************************************************************/
21#ifndef BAPP_REMOTE_H__
22#define BAPP_REMOTE_H__
23
24#include "bapp_types.h"
25#include "bapp_event.h"
26/* Key code modifier stored in msb of event but this might not work for all protocols */
27 
28typedef enum ir_key_type_t
29{
30        eKEY_DOWN = (int)0x80000000,
31        eKEY_UP = (int)0x40000000,
32        eKEY_CMD = (int)0x20000000
33}ir_key_type_t;     
34
35typedef struct bapp_remote *bapp_remote_t;
36
37#ifdef __cplusplus
38extern "C" {
39#endif
40
41bapp_result_t bapp_remote_open(
42                                                                bapp_remote_t *p_remote
43                                                                );
44void bapp_remote_close(
45                                                bapp_remote_t handle
46                                                );
47
48bapp_result_t bapp_remote_get_event(
49                bapp_remote_t handle,
50                bapp_event_t *event /* [out,size_is(nevents)] event from the user */
51                );
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif /* BAPP_REMOTE_H__ */
Note: See TracBrowser for help on using the repository browser.