Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Side by Side Diff: ppapi/c/ppp.h

Issue 6297018: Removed Doxygen groupings by ppb_, pp_, and ppp_. Added grouping by construct... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_PPP_H_ 5 #ifndef PPAPI_C_PPP_H_
6 #define PPAPI_C_PPP_H_ 6 #define PPAPI_C_PPP_H_
7 7
8 #include "ppapi/c/pp_module.h" 8 #include "ppapi/c/pp_module.h"
9 #include "ppapi/c/pp_stdint.h" 9 #include "ppapi/c/pp_stdint.h"
10 #include "ppapi/c/ppb.h" 10 #include "ppapi/c/ppb.h"
11 11
12 #if __GNUC__ >= 4 12 #if __GNUC__ >= 4
13 #define PP_EXPORT __attribute__ ((visibility("default"))) 13 #define PP_EXPORT __attribute__ ((visibility("default")))
14 #elif defined(_MSC_VER) 14 #elif defined(_MSC_VER)
15 #define PP_EXPORT __declspec(dllexport) 15 #define PP_EXPORT __declspec(dllexport)
16 #endif 16 #endif
17 17
18 /** 18 /**
19 * @file 19 * @file
20 * Defines the API ... 20 * Defines the API ...
21 * 21 *
22 * {PENDING: undefine PP_EXPORT?} 22 * {PENDING: undefine PP_EXPORT?}
23 * @addtogroup PPP
24 * @{
25 */ 23 */
26 24
27 /* We don't want name mangling for these external functions. We only need 25 /* We don't want name mangling for these external functions. We only need
28 * 'extern "C"' if we're compiling with a C++ compiler. 26 * 'extern "C"' if we're compiling with a C++ compiler.
29 */ 27 */
30 #ifdef __cplusplus 28 #ifdef __cplusplus
31 extern "C" { 29 extern "C" {
32 #endif 30 #endif
33 31
34 /** 32 /**
33 * @addtogroup Functions
34 * @{
35 */
36
37 /**
35 * Entrypoint for the module. 38 * Entrypoint for the module.
36 * 39 *
37 * Returns PP_OK on success, any other value on failure. Failure indicates to 40 * Returns PP_OK on success, any other value on failure. Failure indicates to
38 * the browser that this plugin can not be used. In this case, the plugin will 41 * the browser that this plugin can not be used. In this case, the plugin will
39 * be unloaded and ShutdownModule will NOT be called. 42 * be unloaded and ShutdownModule will NOT be called.
40 */ 43 *
44 */
41 PP_EXPORT int32_t PPP_InitializeModule(PP_Module module, 45 PP_EXPORT int32_t PPP_InitializeModule(PP_Module module,
42 PPB_GetInterface get_browser_interface); 46 PPB_GetInterface get_browser_interface);
47 /**
48 * @}
49 */
50
51 /**
52 * @addtogroup Functions
53 * @{
54 */
43 55
44 /** Called before the plugin module is unloaded. */ 56 /** Called before the plugin module is unloaded. */
45 PP_EXPORT void PPP_ShutdownModule(); 57 PP_EXPORT void PPP_ShutdownModule();
58 /**
59 * @}
60 */
61
62 /**
63 * @addtogroup Functions
64 * @{
65 */
46 66
47 /** 67 /**
48 * Returns an interface pointer for the interface of the given name, or NULL 68 * Returns an interface pointer for the interface of the given name, or NULL
49 * if the interface is not supported. Interface names should be ASCII. 69 * if the interface is not supported. Interface names should be ASCII.
50 */ 70 */
51 PP_EXPORT const void* PPP_GetInterface(const char* interface_name); 71 PP_EXPORT const void* PPP_GetInterface(const char* interface_name);
72 /**
73 * @}
74 */
52 75
53 #ifdef __cplusplus 76 #ifdef __cplusplus
54 } /* extern "C" */ 77 } /* extern "C" */
55 #endif 78 #endif
56 79
57 /**
58 * @}
59 * End addtogroup PPP
60 */
61 #endif /* PPAPI_C_PPP_H_ */ 80 #endif /* PPAPI_C_PPP_H_ */
62 81
OLDNEW
« ppapi/c/ppb_core.h ('K') | « ppapi/c/ppb_var.h ('k') | ppapi/c/ppp_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698