![]() | ![]() | ![]() | Libmergeant Reference Manual | ![]() |
---|
#define MG_QF_FUNC_TYPE #define MG_QF_FUNC (obj) #define IS_MG_QF_FUNC (obj) #define MG_QF_FUNC_CLASS (klass) struct MgQfFunc; guint mg_qf_func_get_type (void); GObject* mg_qf_func_new_with_func (MgQuery *query, MgServerFunction *func); GObject* mg_qf_func_new_with_xml_id (MgQuery *query, const gchar *func_xml_id); MgServerFunction* mg_qf_func_get_ref_func (MgQfFunc *func); GSList* mg_qf_func_get_args (MgQfFunc *func);
#define MG_QF_FUNC(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, mg_qf_func_get_type(), MgQfFunc)
obj : |
|
#define IS_MG_QF_FUNC(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, mg_qf_func_get_type ())
obj : |
|
#define MG_QF_FUNC_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, mg_qf_func_get_type (), MgQfFuncClass)
klass : |
|
GObject* mg_qf_func_new_with_func (MgQuery *query, MgServerFunction *func);
Creates a new MgQfFunc object which represents the func function
query : | a MgQuery in which the new object will be |
func : | a MgServerFunction object |
Returns : | the new object |
GObject* mg_qf_func_new_with_xml_id (MgQuery *query, const gchar *func_xml_id);
Creates a new MgQfFunc object which represents a given function
query : | a MgQuery in which the new object will be |
func_xml_id : | the XML Id of a MgServerFunction object |
Returns : | the new object |
MgServerFunction* mg_qf_func_get_ref_func (MgQfFunc *func);
Get the real MgServerFunction object used by func
func : | a MgQfFunc object |
Returns : | the MgServerFunction object, or NULL if func is not active |
void user_function (MgQfFunc *mgqffunc, gpointer user_data);
mgqffunc : | the object which received the signal. |
user_data : | user data set when the signal handler was connected. |
<<< MgQfField | MgQfValue >>> |