Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef GO_CMD_CONTEXT_H
00022 #define GO_CMD_CONTEXT_H
00023
00024 #include <goffice/app/goffice-app.h>
00025 #include <glib-object.h>
00026
00027 G_BEGIN_DECLS
00028
00029 #define GO_CMD_CONTEXT_TYPE (go_cmd_context_get_type ())
00030 #define GO_CMD_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GO_CMD_CONTEXT_TYPE, GOCmdContext))
00031 #define IS_GO_CMD_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_CMD_CONTEXT_TYPE))
00032
00033 GType go_cmd_context_get_type (void);
00034
00035 void go_cmd_context_error (GOCmdContext *cc, GError *err);
00036 char *go_cmd_context_get_password (GOCmdContext *cc, char const *fname);
00037 void go_cmd_context_set_sensitive (GOCmdContext *cc, gboolean flag);
00038
00039
00040 void go_cmd_context_error_system (GOCmdContext *cc, char const *msg);
00041 void go_cmd_context_error_import (GOCmdContext *cc, char const *msg);
00042 void go_cmd_context_error_export (GOCmdContext *cc, char const *msg);
00043 void go_cmd_context_error_invalid (GOCmdContext *cc,
00044 char const *msg, char const *val);
00045 void go_cmd_context_error_info (GOCmdContext *cc, ErrorInfo *stack);
00046
00047
00048 GQuark go_error_system (void);
00049 GQuark go_error_import (void);
00050 GQuark go_error_export (void);
00051 GQuark go_error_invalid (void);
00052
00053 G_END_DECLS
00054
00055 #endif