1/* Copyright 2013 The Chromium Authors. All rights reserved. 2 * Use of this source code is governed by a BSD-style license that can be 3 * found in the LICENSE file. */ 4 5#ifndef PPAPI_SIMPLE_PS_INTERFACE_H_ 6#define PPAPI_SIMPLE_PS_INTERFACE_H_ 7 8#include "ppapi/c/pp_bool.h" 9#include "ppapi/c/pp_resource.h" 10#include "ppapi/c/pp_var.h" 11 12 13#include "ppapi/c/ppb_audio.h" 14#include "ppapi/c/ppb_audio_config.h" 15#include "ppapi/c/ppb_console.h" 16#include "ppapi/c/ppb_core.h" 17#include "ppapi/c/ppb_file_io.h" 18#include "ppapi/c/ppb_file_ref.h" 19#include "ppapi/c/ppb_file_system.h" 20#include "ppapi/c/ppb_fullscreen.h" 21#include "ppapi/c/ppb_gamepad.h" 22#include "ppapi/c/ppb_graphics_2d.h" 23#include "ppapi/c/ppb_graphics_3d.h" 24#include "ppapi/c/ppb_image_data.h" 25#include "ppapi/c/ppb_instance.h" 26#include "ppapi/c/ppb_message_loop.h" 27#include "ppapi/c/ppb_messaging.h" 28#include "ppapi/c/ppb_mouse_cursor.h" 29#include "ppapi/c/ppb_mouse_lock.h" 30#include "ppapi/c/ppb_url_loader.h" 31#include "ppapi/c/ppb_url_request_info.h" 32#include "ppapi/c/ppb_url_response_info.h" 33#include "ppapi/c/ppb_var.h" 34#include "ppapi/c/ppb_var_array_buffer.h" 35#include "ppapi/c/ppb_view.h" 36#include "ppapi/c/ppb_websocket.h" 37 38#include "sdk_util/macros.h" 39 40EXTERN_C_BEGIN 41 42const PPB_Audio* PSInterfaceAudio(); 43const PPB_AudioConfig* PSInterfaceAudioConfig(); 44const PPB_Console* PSInterfaceConsole(); 45const PPB_Core* PSInterfaceCore(); 46const PPB_FileIO* PSInterfaceFileIO(); 47const PPB_FileRef* PSInterfaceFileRef(); 48const PPB_FileSystem* PSInterfaceFileSystem(); 49const PPB_Fullscreen* PSInterfaceFullscreen(); 50const PPB_Gamepad* PSInterfaceGamepad(); 51const PPB_Graphics2D* PSInterfaceGraphics2D(); 52const PPB_Graphics3D* PSInterfaceGraphics3D(); 53const PPB_ImageData* PSInterfaceImageData(); 54const PPB_Instance* PSInterfaceInstance(); 55const PPB_Messaging* PSInterfaceMessaging(); 56const PPB_MessageLoop* PSInterfaceMessageLoop(); 57const PPB_MouseCursor* PSInterfaceMouseCursor(); 58const PPB_URLLoader* PSInterfaceURLLoader(); 59const PPB_URLRequestInfo* PSInterfaceURLRequestInfo(); 60const PPB_URLResponseInfo* PSInterfaceURLResponseInfo(); 61const PPB_Var* PSInterfaceVar(); 62const PPB_VarArrayBuffer* PSInterfaceVarArrayBuffer(); 63const PPB_View* PSInterfaceView(); 64const PPB_WebSocket* PSInterfaceWebSocket(); 65 66 67/* Initializes the Interface module which fetches the above interfaces. */ 68void PSInterfaceInit(); 69 70EXTERN_C_END 71 72#endif /* PPAPI_SIMPLE_PS_INTERFACE_H */ 73