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 private/ppb_file_ref_private.idl modified Mon Dec 12 14:04:17 2011. */ |
| 7 |
6 #ifndef PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_ | 8 #ifndef PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_ |
7 #define PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_ | 9 #define PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_ |
8 | 10 |
| 11 #include "ppapi/c/pp_bool.h" |
9 #include "ppapi/c/pp_macros.h" | 12 #include "ppapi/c/pp_macros.h" |
10 #include "ppapi/c/pp_resource.h" | 13 #include "ppapi/c/pp_resource.h" |
| 14 #include "ppapi/c/pp_stdint.h" |
11 #include "ppapi/c/pp_var.h" | 15 #include "ppapi/c/pp_var.h" |
12 | 16 |
13 #define PPB_FILEREFPRIVATE_INTERFACE_0_1 "PPB_FileRefPrivate;0.1" | 17 #define PPB_FILEREFPRIVATE_INTERFACE_0_1 "PPB_FileRefPrivate;0.1" |
14 #define PPB_FILEREFPRIVATE_INTERFACE PPB_FILEREFPRIVATE_INTERFACE_0_1 | 18 #define PPB_FILEREFPRIVATE_INTERFACE PPB_FILEREFPRIVATE_INTERFACE_0_1 |
15 | 19 |
16 /** | 20 /** |
17 * @file | 21 * @file |
18 * This file contains the <code>PPB_FileRefPrivate</code> interface. | 22 * This file contains the <code>PPB_FileRefPrivate</code> interface. */ |
19 */ | |
20 | 23 |
21 | 24 |
22 /** | 25 /** |
23 * @addtogroup Interfaces | 26 * @addtogroup Interfaces |
24 * @{ | 27 * @{ |
25 */ | 28 */ |
26 /* PPB_FileRefPrivate interface */ | 29 /* PPB_FileRefPrivate interface */ |
27 struct PPB_FileRefPrivate { | 30 struct PPB_FileRefPrivate { |
28 /** | 31 /** |
29 * GetAbsolutePath() returns the absolute path of the file. | 32 * GetAbsolutePath() returns the absolute path of the file. |
30 * | 33 * |
31 * @param[in] file_ref A <code>PP_Resource</code> corresponding to a file | 34 * @param[in] file_ref A <code>PP_Resource</code> corresponding to a file |
32 * reference. | 35 * reference. |
33 * | 36 * |
34 * @return A <code>PP_Var</code> containing the absolute path of the file. | 37 * @return A <code>PP_Var</code> containing the absolute path of the file. |
35 */ | 38 */ |
36 struct PP_Var (*GetAbsolutePath)(PP_Resource file_ref); | 39 struct PP_Var (*GetAbsolutePath)(PP_Resource file_ref); |
37 }; | 40 }; |
38 /** | 41 /** |
39 * @} | 42 * @} |
40 */ | 43 */ |
41 | 44 |
42 #endif /* PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_ */ | 45 #endif /* PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_ */ |
| 46 |
OLD | NEW |