![]() |
![]() |
![]() |
Parole Plugins Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#define PAROLE_CHECK_VERSION (major, minor, micro) #define PAROLE_DEFINE_ABSTRACT_TYPE (TN, t_n, T_P) #define PAROLE_DEFINE_ABSTRACT_TYPE_WITH_CODE(TN, t_n, T_P, _C_) #define PAROLE_DEFINE_TYPE (TN, t_n, T_P) #define PAROLE_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, _f_, _C_) #define PAROLE_DEFINE_TYPE_WITH_CODE (TN, t_n, T_P, _C_) #define PAROLE_IMPLEMENT_INTERFACE (TYPE_IFACE, iface_init) #define PAROLE_MAJOR_VERSION #define PAROLE_MICRO_VERSION #define PAROLE_MINOR_VERSION
#define PAROLE_CHECK_VERSION(major,minor,micro)
Checks the parole version.
|
major version number. |
|
minor version number. |
|
micor version number. |
Since 0.2
#define PAROLE_DEFINE_ABSTRACT_TYPE(TN, t_n, T_P) PAROLE_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT, {})
|
The name of the new type, in Camel case. |
|
The name of the new type, in lowercase, with words separated by '_'. |
|
The GType of the parent type. |
Since 0.2
#define PAROLE_DEFINE_ABSTRACT_TYPE_WITH_CODE(TN, t_n, T_P, _C_) PAROLE_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT, _C_)
|
The name of the new type, in Camel case. |
|
The name of the new type, in lowercase, with words separated by '_'. |
|
The GType of the parent type. |
|
Custom code that gets inserted in *_get_type() function. |
Since 0.2
#define PAROLE_DEFINE_TYPE(TN, t_n, T_P) PAROLE_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
|
The name of the new type, in Camel case. |
|
The name of the new type, in lowercase, with words separated by '_'. |
|
The GType of the parent type. |
Since 0.2
#define PAROLE_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _PAROLE_DEFINE_TYPE_EXTENDED_BEGIN(TN, t_n, T_P, _f_) {_C_;} _PAROLE_DEFINE_TYPE_EXTENDED_END()
|
The name of the new type, in Camel case. |
|
The name of the new type, in lowercase, with words separated by '_'. |
|
The GType of the parent type. |
|
GTypeFlags to pass to g_type_module_register_type() . |
|
Custom code that gets inserted in *_get_type() function. |
Since 0.2
#define PAROLE_DEFINE_TYPE_WITH_CODE(TN, t_n, T_P, _C_) _PAROLE_DEFINE_TYPE_EXTENDED_BEGIN(TN, t_n, T_P, 0) {_C_;} _PAROLE_DEFINE_TYPE_EXTENDED_END()
|
The name of the new type, in Camel case. |
|
The name of the new type, in lowercase, with words separated by '_'. |
|
The GType of the parent type. |
|
Custom code that gets inserted in *_get_type() function. |
Since 0.2
#define PAROLE_IMPLEMENT_INTERFACE(TYPE_IFACE, iface_init)
|
the GType of the interface to add. |
|
The interface init function. |