#include <moduleinfo.h>
Public Member Functions | ||||
ModuleInfo (GnomeModuleInfo *gobject, bool make_a_copy=true) | ||||
ModuleInfo (const ModuleInfo &other) | ||||
ModuleInfo & | operator= (const ModuleInfo &other) | |||
~ModuleInfo () | ||||
void | swap (ModuleInfo &other) | |||
GnomeModuleInfo * | gobj () | |||
Provides access to the underlying C instance. | ||||
const GnomeModuleInfo * | gobj () const | |||
Provides access to the underlying C instance. | ||||
GnomeModuleInfo * | gobj_copy () const | |||
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. | ||||
ModuleInfo () | ||||
ModuleInfo (const gchar *name, const gchar *version, const gchar *description) | ||||
The strings must be statically allocated - i.e. string literals. | ||||
Glib::ustring | get_name () const | |||
Glib::ustring | get_version () const | |||
Glib::ustring | get_description () const | |||
void | set_requirements (GnomeModuleRequirement *requirements) | |||
void | set_post_args_parse (GnomeModuleHook function) | |||
Protected Attributes | ||||
GnomeModuleInfo * | gobject_ | |||
Related Functions | ||||
(Note that these are not member functions.) | ||||
void | swap (ModuleInfo &lhs, ModuleInfo &rhs) | |||
| ||||
Gnome::ModuleInfo | wrap (GnomeModuleInfo *object, bool take_copy=false) | |||
|
Gnome::ModuleInfo::ModuleInfo | ( | GnomeModuleInfo * | gobject, | |
bool | make_a_copy = true | |||
) | [explicit] |
Gnome::ModuleInfo::ModuleInfo | ( | const ModuleInfo & | other | ) |
Gnome::ModuleInfo::~ModuleInfo | ( | ) |
Gnome::ModuleInfo::ModuleInfo | ( | ) |
Gnome::ModuleInfo::ModuleInfo | ( | const gchar * | name, | |
const gchar * | version, | |||
const gchar * | description | |||
) |
The strings must be statically allocated - i.e. string literals.
ModuleInfo& Gnome::ModuleInfo::operator= | ( | const ModuleInfo & | other | ) |
void Gnome::ModuleInfo::swap | ( | ModuleInfo & | other | ) |
GnomeModuleInfo* Gnome::ModuleInfo::gobj | ( | ) | [inline] |
Provides access to the underlying C instance.
const GnomeModuleInfo* Gnome::ModuleInfo::gobj | ( | ) | const [inline] |
Provides access to the underlying C instance.
GnomeModuleInfo* Gnome::ModuleInfo::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
Glib::ustring Gnome::ModuleInfo::get_name | ( | ) | const |
Glib::ustring Gnome::ModuleInfo::get_version | ( | ) | const |
Glib::ustring Gnome::ModuleInfo::get_description | ( | ) | const |
void Gnome::ModuleInfo::set_requirements | ( | GnomeModuleRequirement * | requirements | ) |
void Gnome::ModuleInfo::set_post_args_parse | ( | GnomeModuleHook | function | ) |
void swap | ( | ModuleInfo & | lhs, | |
ModuleInfo & | rhs | |||
) | [related] |
lhs | The left-hand side |
rhs | The right-hand side |
Gnome::ModuleInfo wrap | ( | GnomeModuleInfo * | object, | |
bool | take_copy = false | |||
) | [related] |
object | The C instance |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
GnomeModuleInfo* Gnome::ModuleInfo::gobject_ [protected] |