add new functions script_fu_script_collect_standard_args(),
2008-09-18 Michael Natterer <mitch@gimp.org> * plug-ins/script-fu/script-fu-script.[ch]: add new functions script_fu_script_collect_standard_args(), script_fu_script_get_command() and script_fu_script_get_command_from_params(). * plug-ins/script-fu/script-fu-scripts.c: remove the resp. code here and use above functions instead. * plug-ins/script-fu/script-fu-interface.c (script_fu_ok): changed loop over args to only copy all widget content into the script's values and then call script_fu_script_get_command(). svn path=/trunk/; revision=26993
This commit is contained in:
committed by
Michael Natterer
parent
651cb5b325
commit
3b2661bd2b
@ -20,19 +20,27 @@
|
||||
#define __SCRIPT_FU_SCRIPT_H__
|
||||
|
||||
|
||||
SFScript * script_fu_script_new (const gchar *name,
|
||||
const gchar *menu_path,
|
||||
const gchar *blurb,
|
||||
const gchar *author,
|
||||
const gchar *copyright,
|
||||
const gchar *date,
|
||||
const gchar *image_types,
|
||||
gint n_args);
|
||||
void script_fu_script_free (SFScript *script);
|
||||
SFScript * script_fu_script_new (const gchar *name,
|
||||
const gchar *menu_path,
|
||||
const gchar *blurb,
|
||||
const gchar *author,
|
||||
const gchar *copyright,
|
||||
const gchar *date,
|
||||
const gchar *image_types,
|
||||
gint n_args);
|
||||
void script_fu_script_free (SFScript *script);
|
||||
|
||||
void script_fu_script_install_proc (SFScript *script,
|
||||
GimpRunProc run_proc);
|
||||
void script_fu_script_uninstall_proc (SFScript *script);
|
||||
void script_fu_script_install_proc (SFScript *script,
|
||||
GimpRunProc run_proc);
|
||||
void script_fu_script_uninstall_proc (SFScript *script);
|
||||
|
||||
gint script_fu_script_collect_standard_args (SFScript *script,
|
||||
gint n_params,
|
||||
const GimpParam *params);
|
||||
|
||||
gchar * script_fu_script_get_command (SFScript *script);
|
||||
gchar * script_fu_script_get_command_from_params (SFScript *script,
|
||||
const GimpParam *params);
|
||||
|
||||
|
||||
#endif /* __SCRIPT_FU_SCRIPT__ */
|
||||
|
||||
Reference in New Issue
Block a user