Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 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 #ifndef PPAPI_C_PPB_H_ | 5 #ifndef PPAPI_C_PPB_H_ |
| 6 #define PPAPI_C_PPB_H_ | 6 #define PPAPI_C_PPB_H_ |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * @file | 9 * @file |
| 10 * This file defines a function pointer type for the PPB_GetInterface function. | 10 * This file defines a function pointer type for the PPB_GetInterface function. |
| 11 */ | 11 */ |
| 12 | 12 |
| 13 /** | 13 /** |
| 14 * @addtogroup Typedefs | 14 * @addtogroup Typedefs |
| 15 * @{ | 15 * @{ |
| 16 */ | 16 */ |
| 17 | 17 |
| 18 /** | 18 /** |
| 19 * This function pointer type defines the signature for the PPB_GetInterface | 19 * This function pointer type defines the signature for the PPB_GetInterface |
| 20 * function. A generic PPB_GetInterface pointer is passed to | 20 * function. A generic PPB_GetInterface pointer is passed to |
| 21 * PPP_InitializedModule when your module is loaded. You can use this pointer | 21 * PPP_InitializedModule when your module is loaded. You can use this pointer |
| 22 * to request a pointer to a specific browser interface. Browser interface | 22 * to request a pointer to a specific browser interface. Browser interface |
| 23 * names are ASCII strings and are generally defined in the header file for the | 23 * names are ASCII strings and are generally defined in the header file for the |
| 24 * interface, such as PP_AUDIO_INTERFACE found in ppb.audio.h or | 24 * interface, such as PP_AUDIO_INTERFACE found in ppb.audio.h or |
| 25 * PPB_GRAPHICS_2D_INTERFACE in ppb_graphics_2d.h. | 25 * PPB_GRAPHICS_2D_INTERFACE in ppb_graphics_2d.h. Click |
| 26 * <a class="el" href="globals_defs.html" title="macros">here</a> | |
| 27 * for a complete list of interface names. | |
|
dmichael(do not use this one)
2011/03/04 16:42:49
I think I'd prefer an absolute URL, so that somebo
jond
2011/03/04 17:16:33
Done. The link won't work until we push the next l
dmichael(do not use this one)
2011/03/04 19:45:01
Can you make doxygen still recognize it if you bre
| |
| 26 * | 28 * |
| 27 * This value will be NULL if the interface is not supported on the browser. | 29 * This value will be NULL if the interface is not supported on the browser. |
| 28 */ | 30 */ |
| 29 typedef const void* (*PPB_GetInterface)(const char* interface_name); | 31 typedef const void* (*PPB_GetInterface)(const char* interface_name); |
| 30 /** | 32 /** |
| 31 * @} | 33 * @} |
| 32 */ | 34 */ |
| 33 #endif /* PPAPI_C_PPB_H_ */ | 35 #endif /* PPAPI_C_PPB_H_ */ |
| 34 | 36 |
| OLD | NEW |