Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include <stdlib.h>
7 #include "android_npapi.h"
8 #include "nsAutoPtr.h"
9 #include "nsISupportsImpl.h"
11 #define NOT_IMPLEMENTED_FATAL() do { \
12 __android_log_print(ANDROID_LOG_ERROR, "GeckoPlugins", \
13 "%s not implemented %s, %d", \
14 __PRETTY_FUNCTION__, __FILE__, __LINE__); \
15 abort(); \
16 } while(0)
18 #define NOT_IMPLEMENTED() \
19 __android_log_print(ANDROID_LOG_ERROR, "GeckoPlugins", \
20 "!!!!!!!!!!!!!! %s not implemented %s, %d", \
21 __PRETTY_FUNCTION__, __FILE__, __LINE__); \
23 void InitAudioTrackInterfaceV0(ANPAudioTrackInterfaceV0 *i);
24 void InitAudioTrackInterfaceV1(ANPAudioTrackInterfaceV1* i);
25 void InitBitmapInterface(ANPBitmapInterfaceV0 *i);
26 void InitCanvasInterface(ANPCanvasInterfaceV0 *i);
27 void InitEventInterface(ANPEventInterfaceV0 *i);
28 void InitLogInterface(ANPLogInterfaceV0 *i);
29 void InitMatrixInterface(ANPMatrixInterfaceV0 *i);
30 void InitPaintInterface(ANPPaintInterfaceV0 *i);
31 void InitPathInterface(ANPPathInterfaceV0 *i);
32 void InitSurfaceInterface(ANPSurfaceInterfaceV0 *i);
33 void InitSystemInterface(ANPSystemInterfaceV0 *i);
34 void InitSystemInterfaceV1(ANPSystemInterfaceV1 *i);
35 void InitSystemInterfaceV2(ANPSystemInterfaceV2 *i);
36 void InitTypeFaceInterface(ANPTypefaceInterfaceV0 *i);
37 void InitWindowInterface(ANPWindowInterfaceV0 *i);
38 void InitWindowInterfaceV1(ANPWindowInterfaceV1 *i);
39 void InitWindowInterfaceV2(ANPWindowInterfaceV2 *i);
40 void InitVideoInterfaceV0(ANPVideoInterfaceV0 *i);
41 void InitVideoInterfaceV1(ANPVideoInterfaceV1 *i);
42 void InitOpenGLInterface(ANPOpenGLInterfaceV0 *i);
43 void InitNativeWindowInterface(ANPNativeWindowInterfaceV0 *i);