Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_camera_device_private.h
Go to the documentation of this file.
1 /* Copyright 2014 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 
6 /* From private/ppb_camera_device_private.idl,
7  * modified Wed Nov 8 11:16:43 2017.
8  */
9 
10 #ifndef PPAPI_C_PRIVATE_PPB_CAMERA_DEVICE_PRIVATE_H_
11 #define PPAPI_C_PRIVATE_PPB_CAMERA_DEVICE_PRIVATE_H_
12 
13 #include "ppapi/c/pp_bool.h"
15 #include "ppapi/c/pp_instance.h"
16 #include "ppapi/c/pp_macros.h"
17 #include "ppapi/c/pp_resource.h"
18 #include "ppapi/c/pp_stdint.h"
19 #include "ppapi/c/pp_var.h"
20 
21 #define PPB_CAMERADEVICE_PRIVATE_INTERFACE_0_1 "PPB_CameraDevice_Private;0.1"
22 #define PPB_CAMERADEVICE_PRIVATE_INTERFACE \
23  PPB_CAMERADEVICE_PRIVATE_INTERFACE_0_1
24 
78  int32_t (*Open)(PP_Resource camera_device,
79  struct PP_Var device_id,
80  struct PP_CompletionCallback callback);
91  void (*Close)(PP_Resource camera_device);
107  int32_t (*GetCameraCapabilities)(PP_Resource camera_device,
108  PP_Resource* capabilities,
109  struct PP_CompletionCallback callback);
110 };
111 
117 #endif /* PPAPI_C_PRIVATE_PPB_CAMERA_DEVICE_PRIVATE_H_ */
118 
void(* Close)(PP_Resource camera_device)
Definition: ppb_camera_device_private.h:91
int32_t PP_Resource
Definition: pp_resource.h:40
PP_Resource(* Create)(PP_Instance instance)
Definition: ppb_camera_device_private.h:54
int32_t(* GetCameraCapabilities)(PP_Resource camera_device, PP_Resource *capabilities, struct PP_CompletionCallback callback)
Definition: ppb_camera_device_private.h:107
int32_t(* Open)(PP_Resource camera_device, struct PP_Var device_id, struct PP_CompletionCallback callback)
Definition: ppb_camera_device_private.h:78
Definition: pp_var.h:166
PP_Bool(* IsCameraDevice)(PP_Resource resource)
Definition: ppb_camera_device_private.h:64
int32_t PP_Instance
Definition: pp_instance.h:34
Definition: ppb_camera_device_private.h:44
PP_Bool
Definition: pp_bool.h:30
Definition: pp_completion_callback.h:139