Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_removable_storage_dev.h
Go to the documentation of this file.
1 /* Copyright (c) 2013 Samsung Electronics. All rights reserved.
2  */
3 
4 /* From dev/ppb_removable_storage_dev.idl modified Wed Nov 2 13:15:07 2016. */
5 
6 #ifndef PPAPI_C_DEV_PPB_REMOVABLE_STORAGE_DEV_H_
7 #define PPAPI_C_DEV_PPB_REMOVABLE_STORAGE_DEV_H_
8 
11 #include "ppapi/c/pp_bool.h"
13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_resource.h"
16 #include "ppapi/c/pp_stdint.h"
17 
18 #define PPB_REMOVABLESTORAGE_DEV_INTERFACE_0_1 "PPB_RemovableStorage(Dev);0.1"
19 #define PPB_REMOVABLESTORAGE_DEV_INTERFACE \
20  PPB_REMOVABLESTORAGE_DEV_INTERFACE_0_1
21 
71  int32_t (*EnumerateDevices)(PP_Resource removable_storage,
72  struct PP_ArrayOutput output,
73  struct PP_CompletionCallback callback);
92  int32_t (*MonitorDeviceChange)(PP_Resource removable_storage,
94  void* user_data);
109  int32_t (*Open)(PP_Resource removable_storage,
110  PP_Resource file_system,
111  PP_Resource device_ref,
112  struct PP_CompletionCallback callback);
113 };
114 
120 #endif /* PPAPI_C_DEV_PPB_REMOVABLE_STORAGE_DEV_H_ */
121 
int32_t(* MonitorDeviceChange)(PP_Resource removable_storage, PP_MonitorDeviceChangeCallback callback, void *user_data)
Definition: ppb_removable_storage_dev.h:92
Definition: ppb_removable_storage_dev.h:37
PP_Resource(* Create)(PP_Instance instance)
Definition: ppb_removable_storage_dev.h:47
int32_t PP_Resource
Definition: pp_resource.h:40
int32_t(* EnumerateDevices)(PP_Resource removable_storage, struct PP_ArrayOutput output, struct PP_CompletionCallback callback)
Definition: ppb_removable_storage_dev.h:71
Definition: pp_array_output.h:103
PP_Bool(* IsRemovableStorage)(PP_Resource resource)
Definition: ppb_removable_storage_dev.h:56
int32_t PP_Instance
Definition: pp_instance.h:34
void * user_data
Definition: pp_array_output.h:112
PP_Bool
Definition: pp_bool.h:30
int32_t(* Open)(PP_Resource removable_storage, PP_Resource file_system, PP_Resource device_ref, struct PP_CompletionCallback callback)
Definition: ppb_removable_storage_dev.h:109
Definition: pp_completion_callback.h:139
void(* PP_MonitorDeviceChangeCallback)(void *user_data, uint32_t device_count, const PP_Resource devices[])
Definition: ppb_device_ref_dev.h:41