OLD | NEW |
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 /* From ppb_file_system.idl modified Sat Jul 16 16:50:26 2011. */ | 6 /* From ppb_file_system.idl modified Tue Aug 23 11:30:57 2011. */ |
7 | 7 |
8 #ifndef PPAPI_C_PPB_FILE_SYSTEM_H_ | 8 #ifndef PPAPI_C_PPB_FILE_SYSTEM_H_ |
9 #define PPAPI_C_PPB_FILE_SYSTEM_H_ | 9 #define PPAPI_C_PPB_FILE_SYSTEM_H_ |
10 | 10 |
11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
12 #include "ppapi/c/pp_completion_callback.h" | 12 #include "ppapi/c/pp_completion_callback.h" |
13 #include "ppapi/c/pp_file_info.h" | 13 #include "ppapi/c/pp_file_info.h" |
14 #include "ppapi/c/pp_instance.h" | 14 #include "ppapi/c/pp_instance.h" |
15 #include "ppapi/c/pp_macros.h" | 15 #include "ppapi/c/pp_macros.h" |
16 #include "ppapi/c/pp_resource.h" | 16 #include "ppapi/c/pp_resource.h" |
(...skipping 13 matching lines...) Expand all Loading... |
30 * @addtogroup Interfaces | 30 * @addtogroup Interfaces |
31 * @{ | 31 * @{ |
32 */ | 32 */ |
33 /** | 33 /** |
34 * The <code>PPB_FileSystem</code> struct identifies the file system type | 34 * The <code>PPB_FileSystem</code> struct identifies the file system type |
35 * associated with a file. | 35 * associated with a file. |
36 */ | 36 */ |
37 struct PPB_FileSystem { | 37 struct PPB_FileSystem { |
38 /** Create() creates a file system object of the given type. | 38 /** Create() creates a file system object of the given type. |
39 * | 39 * |
40 * @param[in] instance A <code>PP_Instance</code> indentifying the instance | 40 * @param[in] instance A <code>PP_Instance</code> identifying the instance |
41 * with the file. | 41 * with the file. |
42 * @param[in] type A file system type as defined by | 42 * @param[in] type A file system type as defined by |
43 * <code>PP_FileSystemType</code> enum. | 43 * <code>PP_FileSystemType</code> enum. |
44 * | 44 * |
45 * @return A <code>PP_Resource</code> corresponding to a file system if | 45 * @return A <code>PP_Resource</code> corresponding to a file system if |
46 * successful. | 46 * successful. |
47 */ | 47 */ |
48 PP_Resource (*Create)(PP_Instance instance, PP_FileSystemType type); | 48 PP_Resource (*Create)(PP_Instance instance, PP_FileSystemType type); |
49 /** | 49 /** |
50 * IsFileSystem() determines if the provided resource is a file system. | 50 * IsFileSystem() determines if the provided resource is a file system. |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 * Open() completes. | 87 * Open() completes. |
88 */ | 88 */ |
89 PP_FileSystemType (*GetType)(PP_Resource file_system); | 89 PP_FileSystemType (*GetType)(PP_Resource file_system); |
90 }; | 90 }; |
91 /** | 91 /** |
92 * @} | 92 * @} |
93 */ | 93 */ |
94 | 94 |
95 #endif /* PPAPI_C_PPB_FILE_SYSTEM_H_ */ | 95 #endif /* PPAPI_C_PPB_FILE_SYSTEM_H_ */ |
96 | 96 |
OLD | NEW |