webOS Userland
Native system APIs for webOS
Loading...
Searching...
No Matches
NDL_directmedia_common.h
1
#pragma once
2
3
#ifdef __cplusplus
4
extern
"C"
{
5
#endif
6
7
/* default to API version 1 (pre-webOS 5) */
8
#ifndef NDL_DIRECTMEDIA_API_VERSION
9
# define NDL_DIRECTMEDIA_API_VERSION 1
10
#endif
11
12
#include "NDL_directmedia_types.h"
13
19
const
char
*NDL_DirectMediaGetError(
void
);
20
21
/* NDL_DirectMediaInit is declared per API version. API 1 takes a release
22
* callback, API 2 takes the app id alone. */
23
29
int
NDL_DirectMediaQuit(
void
);
30
34
int
NDL_DirectMediaSetAppState(NDL_DIRECTMEDIA_APP_STATE state);
35
39
int
NDL_DirectVideoSetArea(
int
left,
int
top,
int
width,
int
height);
40
41
#ifdef __cplusplus
42
}
43
#endif
include
libndl-media
NDL_directmedia_common.h
Generated by
1.9.8