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 40 EXTERN_C_BEGIN 41 42 const PPB_Audio* PSInterfaceAudio(); 43 const PPB_AudioConfig* PSInterfaceAudioConfig(); 44 const PPB_Console* PSInterfaceConsole(); 45 const PPB_Core* PSInterfaceCore(); 46 const PPB_FileIO* PSInterfaceFileIO(); 47 const PPB_FileRef* PSInterfaceFileRef(); 48 const PPB_FileSystem* PSInterfaceFileSystem(); 49 const PPB_Fullscreen* PSInterfaceFullscreen(); 50 const PPB_Gamepad* PSInterfaceGamepad(); 51 const PPB_Graphics2D* PSInterfaceGraphics2D(); 52 const PPB_Graphics3D* PSInterfaceGraphics3D(); 53 const PPB_ImageData* PSInterfaceImageData(); 54 const PPB_Instance* PSInterfaceInstance(); 55 const PPB_Messaging* PSInterfaceMessaging(); 56 const PPB_MessageLoop* PSInterfaceMessageLoop(); 57 const PPB_MouseCursor* PSInterfaceMouseCursor(); 58 const PPB_URLLoader* PSInterfaceURLLoader(); 59 const PPB_URLRequestInfo* PSInterfaceURLRequestInfo(); 60 const PPB_URLResponseInfo* PSInterfaceURLResponseInfo(); 61 const PPB_Var* PSInterfaceVar(); 62 const PPB_VarArrayBuffer* PSInterfaceVarArrayBuffer(); 63 const PPB_View* PSInterfaceView(); 64 const PPB_WebSocket* PSInterfaceWebSocket(); 65 66 67 /* Initializes the Interface module which fetches the above interfaces. */ 68 void PSInterfaceInit(); 69 70 EXTERN_C_END 71 72 #endif /* PPAPI_SIMPLE_PS_INTERFACE_H */ 73