michael@0: /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include michael@0: #include "android_npapi.h" michael@0: #include "nsAutoPtr.h" michael@0: #include "nsISupportsImpl.h" michael@0: michael@0: #define NOT_IMPLEMENTED_FATAL() do { \ michael@0: __android_log_print(ANDROID_LOG_ERROR, "GeckoPlugins", \ michael@0: "%s not implemented %s, %d", \ michael@0: __PRETTY_FUNCTION__, __FILE__, __LINE__); \ michael@0: abort(); \ michael@0: } while(0) michael@0: michael@0: #define NOT_IMPLEMENTED() \ michael@0: __android_log_print(ANDROID_LOG_ERROR, "GeckoPlugins", \ michael@0: "!!!!!!!!!!!!!! %s not implemented %s, %d", \ michael@0: __PRETTY_FUNCTION__, __FILE__, __LINE__); \ michael@0: michael@0: void InitAudioTrackInterfaceV0(ANPAudioTrackInterfaceV0 *i); michael@0: void InitAudioTrackInterfaceV1(ANPAudioTrackInterfaceV1* i); michael@0: void InitBitmapInterface(ANPBitmapInterfaceV0 *i); michael@0: void InitCanvasInterface(ANPCanvasInterfaceV0 *i); michael@0: void InitEventInterface(ANPEventInterfaceV0 *i); michael@0: void InitLogInterface(ANPLogInterfaceV0 *i); michael@0: void InitMatrixInterface(ANPMatrixInterfaceV0 *i); michael@0: void InitPaintInterface(ANPPaintInterfaceV0 *i); michael@0: void InitPathInterface(ANPPathInterfaceV0 *i); michael@0: void InitSurfaceInterface(ANPSurfaceInterfaceV0 *i); michael@0: void InitSystemInterface(ANPSystemInterfaceV0 *i); michael@0: void InitSystemInterfaceV1(ANPSystemInterfaceV1 *i); michael@0: void InitSystemInterfaceV2(ANPSystemInterfaceV2 *i); michael@0: void InitTypeFaceInterface(ANPTypefaceInterfaceV0 *i); michael@0: void InitWindowInterface(ANPWindowInterfaceV0 *i); michael@0: void InitWindowInterfaceV1(ANPWindowInterfaceV1 *i); michael@0: void InitWindowInterfaceV2(ANPWindowInterfaceV2 *i); michael@0: void InitVideoInterfaceV0(ANPVideoInterfaceV0 *i); michael@0: void InitVideoInterfaceV1(ANPVideoInterfaceV1 *i); michael@0: void InitOpenGLInterface(ANPOpenGLInterfaceV0 *i); michael@0: void InitNativeWindowInterface(ANPNativeWindowInterfaceV0 *i);