diff options
author | monsta <[email protected]> | 2016-08-23 16:02:36 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-08-23 16:02:36 +0300 |
commit | fafdebc5741aef1b6eb64db0a0447eb0210ee186 (patch) | |
tree | cc8f3ba2885fc12f4bd614865e5a68ab7c5f231b /libcaja-extension/caja-column-provider.h | |
parent | 3b62e6d5d6fe861e8be862b0a20ba32fdf05e701 (diff) | |
download | caja-fafdebc5741aef1b6eb64db0a0447eb0210ee186.tar.bz2 caja-fafdebc5741aef1b6eb64db0a0447eb0210ee186.tar.xz |
libcaja-extension: fix docs generation and fix some indent
docs are still far from perfect, but most build warnings are gone
Diffstat (limited to 'libcaja-extension/caja-column-provider.h')
-rw-r--r-- | libcaja-extension/caja-column-provider.h | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/libcaja-extension/caja-column-provider.h b/libcaja-extension/caja-column-provider.h index c3ba919f..78902a74 100644 --- a/libcaja-extension/caja-column-provider.h +++ b/libcaja-extension/caja-column-provider.h @@ -35,31 +35,35 @@ #include "caja-extension-types.h" #include "caja-column.h" -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS #define CAJA_TYPE_COLUMN_PROVIDER (caja_column_provider_get_type ()) #define CAJA_COLUMN_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CAJA_TYPE_COLUMN_PROVIDER, CajaColumnProvider)) #define CAJA_IS_COLUMN_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CAJA_TYPE_COLUMN_PROVIDER)) #define CAJA_COLUMN_PROVIDER_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), CAJA_TYPE_COLUMN_PROVIDER, CajaColumnProviderIface)) - typedef struct _CajaColumnProvider CajaColumnProvider; - typedef struct _CajaColumnProviderIface CajaColumnProviderIface; +typedef struct _CajaColumnProvider CajaColumnProvider; +typedef struct _CajaColumnProviderIface CajaColumnProviderIface; - struct _CajaColumnProviderIface - { - GTypeInterface g_iface; +/** + * CajaColumnProviderIface: + * @g_iface: The parent interface. + * @get_columns: Returns a #GList of #CajaColumn. + * See caja_column_provider_get_columns() for details. + * + * Interface for extensions to provide additional list view columns. + */ - GList *(*get_columns) (CajaColumnProvider *provider); - }; +struct _CajaColumnProviderIface { + GTypeInterface g_iface; - /* Interface Functions */ - GType caja_column_provider_get_type (void); - GList *caja_column_provider_get_columns (CajaColumnProvider *provider); + GList *(*get_columns) (CajaColumnProvider *provider); +}; -#ifdef __cplusplus -} -#endif +/* Interface Functions */ +GType caja_column_provider_get_type (void); +GList *caja_column_provider_get_columns (CajaColumnProvider *provider); + +G_END_DECLS #endif |