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 Wed Aug 24 20:52:19 2011. */ | 6 /* From ppb_file_system.idl modified Mon Aug 29 10:11:34 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 12 matching lines...) Expand all Loading... |
29 * @addtogroup Interfaces | 29 * @addtogroup Interfaces |
30 * @{ | 30 * @{ |
31 */ | 31 */ |
32 /** | 32 /** |
33 * The <code>PPB_FileSystem</code> struct identifies the file system type | 33 * The <code>PPB_FileSystem</code> struct identifies the file system type |
34 * associated with a file. | 34 * associated with a file. |
35 */ | 35 */ |
36 struct PPB_FileSystem { | 36 struct PPB_FileSystem { |
37 /** Create() creates a file system object of the given type. | 37 /** Create() creates a file system object of the given type. |
38 * | 38 * |
39 * @param[in] instance A <code>PP_Instance</code> indentifying the instance | 39 * @param[in] instance A <code>PP_Instance</code> identifying the instance |
40 * with the file. | 40 * with the file. |
41 * @param[in] type A file system type as defined by | 41 * @param[in] type A file system type as defined by |
42 * <code>PP_FileSystemType</code> enum. | 42 * <code>PP_FileSystemType</code> enum. |
43 * | 43 * |
44 * @return A <code>PP_Resource</code> corresponding to a file system if | 44 * @return A <code>PP_Resource</code> corresponding to a file system if |
45 * successful. | 45 * successful. |
46 */ | 46 */ |
47 PP_Resource (*Create)(PP_Instance instance, PP_FileSystemType type); | 47 PP_Resource (*Create)(PP_Instance instance, PP_FileSystemType type); |
48 /** | 48 /** |
49 * IsFileSystem() determines if the provided resource is a file system. | 49 * IsFileSystem() determines if the provided resource is a file system. |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 * Open() completes. | 86 * Open() completes. |
87 */ | 87 */ |
88 PP_FileSystemType (*GetType)(PP_Resource file_system); | 88 PP_FileSystemType (*GetType)(PP_Resource file_system); |
89 }; | 89 }; |
90 /** | 90 /** |
91 * @} | 91 * @} |
92 */ | 92 */ |
93 | 93 |
94 #endif /* PPAPI_C_PPB_FILE_SYSTEM_H_ */ | 94 #endif /* PPAPI_C_PPB_FILE_SYSTEM_H_ */ |
95 | 95 |
OLD | NEW |