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_io.idl modified Wed Jul 13 16:41:25 2011. */ | 6 /* From ppb_file_io.idl modified Wed Aug 24 20:51:24 2011. */ |
7 | 7 |
8 #ifndef PPAPI_C_PPB_FILE_IO_H_ | 8 #ifndef PPAPI_C_PPB_FILE_IO_H_ |
9 #define PPAPI_C_PPB_FILE_IO_H_ | 9 #define PPAPI_C_PPB_FILE_IO_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" |
17 #include "ppapi/c/pp_stdint.h" | 17 #include "ppapi/c/pp_stdint.h" |
18 #include "ppapi/c/pp_time.h" | 18 #include "ppapi/c/pp_time.h" |
19 | 19 |
20 #define PPB_FILEIO_INTERFACE_0_5 "PPB_FileIO;0.5" | |
21 #define PPB_FILEIO_INTERFACE_1_0 "PPB_FileIO;1.0" | 20 #define PPB_FILEIO_INTERFACE_1_0 "PPB_FileIO;1.0" |
22 #define PPB_FILEIO_INTERFACE PPB_FILEIO_INTERFACE_1_0 | 21 #define PPB_FILEIO_INTERFACE PPB_FILEIO_INTERFACE_1_0 |
23 | 22 |
24 /** | 23 /** |
25 * @file | 24 * @file |
26 * This file defines the API to create a file i/o object. | 25 * This file defines the API to create a file i/o object. |
27 */ | 26 */ |
28 | 27 |
29 | 28 |
30 /** | 29 /** |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 * FileIO. | 236 * FileIO. |
238 */ | 237 */ |
239 void (*Close)(PP_Resource file_io); | 238 void (*Close)(PP_Resource file_io); |
240 }; | 239 }; |
241 /** | 240 /** |
242 * @} | 241 * @} |
243 */ | 242 */ |
244 | 243 |
245 #endif /* PPAPI_C_PPB_FILE_IO_H_ */ | 244 #endif /* PPAPI_C_PPB_FILE_IO_H_ */ |
246 | 245 |
OLD | NEW |