webOS Userland
Native system APIs for webOS
 
Loading...
Searching...
No Matches
NDL_directmedia_common.h
1#pragma once
2
3#ifdef __cplusplus
4extern "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
19const char *NDL_DirectMediaGetError(void);
20
26int NDL_DirectMediaInit(const char *app_id, ResourceReleased cb);
27
33int NDL_DirectMediaQuit(void);
34
38int NDL_DirectMediaSetAppState(NDL_DIRECTMEDIA_APP_STATE state);
39
43int NDL_DirectVideoSetArea(int left, int top, int width, int height);
44
45#ifdef __cplusplus
46}
47#endif