Added gm_editor_saved, added gm_editor_close, added gm_editor_set_lines_from_string, added gm_editor_set_lines_from_file, fixed indentation, added close signal, added saved signal
This commit is contained in:
parent
816138361b
commit
93820b9776
|
@ -38,10 +38,12 @@ struct _GmEditor {
|
|||
typedef struct _GmEditorClass GmEditorClass;
|
||||
|
||||
struct _GmEditorClass {
|
||||
GObject parent_class;
|
||||
GObjectClass parent_class;
|
||||
|
||||
/* Signals */
|
||||
void (* save) (GmEditor *editor);
|
||||
void (* saved) (GmEditor *editor);
|
||||
void (* close) (GmEditor *editor);
|
||||
};
|
||||
|
||||
typedef enum _GmEditType GmEditType;
|
||||
|
@ -55,7 +57,12 @@ GmEditor *gm_editor_new(gchar *name, gchar *uploadcmd, GList *text);
|
|||
GmEditor *gm_editor_new_mcp(gchar *name, gchar *reference, gchar *type,
|
||||
GList *text);
|
||||
|
||||
void gm_editor_set_lines_from_string(GmEditor *editor, gchar const *text);
|
||||
void gm_editor_set_lines_from_file(GmEditor *editor, gchar const *filename);
|
||||
|
||||
void gm_editor_save(GmEditor *editor);
|
||||
void gm_editor_saved(GmEditor *editor);
|
||||
void gm_editor_close(GmEditor *editor);
|
||||
|
||||
gboolean gm_editor_is_code(GmEditor *editor);
|
||||
gchar *gm_editor_name(GmEditor *editor);
|
||||
|
|
Reference in New Issue
Block a user