diff options
author | David King <amigadave@amigadave.com> | 2011-10-27 23:38:50 +0200 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2011-10-27 23:44:32 +0200 |
commit | c197715d77184b07f86a14ef3584a20a54e223e4 (patch) | |
tree | 8abf030917a76f89cb13e929571a560583f7f0c4 /libcheese/cheese-effect.h | |
parent | fb9e20ca79811711bc6374fc0b4a524f537caf9a (diff) | |
download | cheese-c197715d77184b07f86a14ef3584a20a54e223e4.tar.gz |
Overhaul the libcheese documentation
Add documentation for CheeseCameraDevice. Remove bogus XML included in
the library overview. Add section documentation to all classes, and mark
them as unstable. Add GObject and GObjectClass struct documentation.
Diffstat (limited to 'libcheese/cheese-effect.h')
-rw-r--r-- | libcheese/cheese-effect.h | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/libcheese/cheese-effect.h b/libcheese/cheese-effect.h index 4f4c662a..db0e85ac 100644 --- a/libcheese/cheese-effect.h +++ b/libcheese/cheese-effect.h @@ -41,22 +41,37 @@ G_BEGIN_DECLS #define CHEESE_EFFECT_GET_CLASS(obj) \ (G_TYPE_INSTANCE_GET_CLASS ((obj), CHEESE_TYPE_EFFECT, CheeseEffectClass)) -typedef struct -{ - GObject parent; -} CheeseEffect; +typedef struct _CheeseEffectClass CheeseEffectClass; +typedef struct _CheeseEffect CheeseEffect; -typedef struct +/** + * CheeseEffectClass: + * + * Use the accessor functions below. + */ +struct _CheeseEffectClass { + /*< private >*/ GObjectClass parent_class; -} CheeseEffectClass; +}; + +/** + * CheeseEffect: + * + * Use the accessor functions below. + */ +struct _CheeseEffect +{ + /*< private >*/ + GObject parent; +}; GType cheese_effect_get_type (void); CheeseEffect *cheese_effect_new (void); -gboolean cheese_effect_is_preview_connected (CheeseEffect *self); -void cheese_effect_enable_preview (CheeseEffect *self); -void cheese_effect_disable_preview (CheeseEffect *self); +gboolean cheese_effect_is_preview_connected (CheeseEffect *effect); +void cheese_effect_enable_preview (CheeseEffect *effect); +void cheese_effect_disable_preview (CheeseEffect *effect); CheeseEffect *cheese_effect_load_from_file (const gchar *fname); GList *cheese_effect_load_effects (void); |