dom/plugins/base/android/ANPBase.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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

mercurial