source: svn/trunk/newcon3bcm2_21bu/dta/src/settop_api/bsettop.h @ 2

Last change on this file since 2 was 2, checked in by phkim, 11 years ago

1.phkim

  1. revision copy newcon3sk r27
  • Property svn:executable set to *
File size: 2.1 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
22#ifndef BSETTOP_H__
23#define BSETTOP_H__
24
25#include "bsettop_types.h"
26#include "bsettop_pcm.h"
27#include "bsettop_stream.h"
28#include "bsettop_decode.h"
29#include "bsettop_display.h"
30#include "bsettop_graphics.h"
31#include "bsettop_user_io.h"
32#include "bsettop_decode_audio.h"
33
34/*=********************************
35Universal include file for the Settop API.
36
37In order to call any function from the Settop API from your application,
38you should include this and only this file.
39***********************************/
40
41
42#ifdef __cplusplus
43extern "C"
44{
45#endif
46
47/*
48Summary:
49        Use the BSETTOP_VERSION macro and ignore this type.
50*/
51typedef unsigned bsettop_version;
52
53/*
54Summary:
55        Version macro which must be passed to bsettop_init().
56*/
57#define BSETTOP_VERSION ((bsettop_version)0x0038)
58
59/*
60Summary:
61        Initializes the settop API.
62
63Description:
64        Required before any other call. If you don't call it, some key functions will fail;
65        others will succeed but will result in undefined behavior.
66
67        Use the BSETTOP_VERSION macro to pass the correct version. This verifies
68        at run-time that the correct shared library is being used.
69*/
70       
71bresult bsettop_init(bsettop_version version);
72
73
74/*
75Summary:
76        Releases resources
77
78Description:
79        This function is used to release resources allocated during bsettop_init.
80        User should call this function before exit from an application.
81*/
82
83void bsettop_uninit(void);
84
85
86/*
87Summary:
88        Perform periodic power monitoring functions
89*/
90
91void bsettop_pvt(void);
92
93#ifdef __cplusplus
94}
95#endif
96
97#endif /* BSETTOP_H__ */
Note: See TracBrowser for help on using the repository browser.