RDK Documentation (Open Sourced RDK Components)
StubsForAVEPlayer.cpp
Go to the documentation of this file.
1 /*
2  * If not stated otherwise in this file or this component's Licenses.txt file the
3  * following copyright and licenses apply:
4  *
5  * Copyright 2018 RDK Management
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18 */
19 
20 /**
21  * @file StubsForAVEPlayer.cpp
22  * @brief Various stubs required to compile AVE drm
23  * @note To be removed once avedrm is used instead of aveplayer
24  */
25 
26 /*Stubs to link with libAVEPlayer.so*/
27 extern "C" {
28 
29 void JSValueToObject(){ }
30 void JSStringCreateWithUTF8CString(){ }
31 void JSStringGetCharactersPtr(){ }
32 void JSValueMakeNull(){ }
33 void JSValueIsUndefined(){ }
34 void JSClassRelease(){ }
35 void JSValueIsObjectOfClass(){ }
36 void JSStringRelease(){ }
37 void JSObjectSetProperty(){ }
38 void JSValueMakeNumber(){ }
39 void JSValueToBoolean(){ }
40 void JSObjectIsFunction(){ }
41 void JSValueIsBoolean(){ }
42 void JSValueToStringCopy(){ }
43 void JSValueToNumber(){ }
44 void JSValueIsString(){ }
45 void JSValueUnprotect(){ }
46 void JSObjectSetPrivate(){ }
47 void JSStringGetUTF8CString(){ }
48 void JSContextGetGlobalObject(){ }
49 void JSValueMakeString(){ }
50 void JSGarbageCollect(){ }
51 void JSStringGetLength(){ }
52 void JSObjectMakeConstructor(){ }
53 void JSObjectCallAsFunction(){ }
54 void JSValueMakeBoolean(){ }
55 void JSValueIsObject(){ }
56 void JSObjectGetPropertyAtIndex(){ }
57 void JSObjectMakeFunction(){ }
58 void JSObjectCopyPropertyNames(){ }
59 void JSPropertyNameArrayRelease() { }
60 void JSObjectIsConstructor(){ }
61 void JSStringGetMaximumUTF8CStringSize(){ }
62 void JSValueMakeUndefined(){ }
63 void JSObjectMake(){ }
64 void JSPropertyNameArrayGetNameAtIndex(){ }
65 void JSValueIsInstanceOfConstructor(){ }
67 void JSValueIsNumber(){ }
68 void JSObjectHasProperty(){ }
69 void JSObjectGetPrivate(){ }
70 void JSPropertyNameArrayGetCount(){ }
71 void JSObjectMakeArray(){ }
72 void JSObjectGetProperty(){ }
73 void JSClassCreate(){ }
74 void JSValueProtect(){ }
75 void JSStringCreateWithCharacters(){ }
76 void JSObjectMakeDate(){ }
77 void JSObjectMakeError(){ }
78 }
JSContextGetGlobalContext
JS_EXPORT JSGlobalContextRef JSContextGetGlobalContext(JSContextRef)
Get the global JS execution context.