• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

go-cmd-context-impl.h

Go to the documentation of this file.
00001 #ifndef GO_CMD_CONTEXT_IMPL_H
00002 #define GO_CMD_CONTEXT_IMPL_H
00003 
00004 #include <goffice/app/go-cmd-context.h>
00005 
00006 G_BEGIN_DECLS
00007 
00008 typedef struct {
00009     GTypeInterface base;
00010 
00011     char *  (*get_password)     (GOCmdContext *gcc,
00012                      char const *filename);
00013     void    (*set_sensitive)    (GOCmdContext *gcc,
00014                      gboolean sensitive);
00015     struct {
00016         void (*error)       (GOCmdContext *gcc, GError *err);
00017         void (*error_info)      (GOCmdContext *gcc, GOErrorInfo *err);
00018     } error;
00019 
00020     void    (*progress_set)     (GOCmdContext *gcc, double val);
00021     void    (*progress_message_set) (GOCmdContext *gcc, gchar const *msg);
00022 
00023   /* This should really go into the error struct! */
00024         void    (*error_info_list)      (GOCmdContext *gcc, GSList *errs);
00025 } GOCmdContextClass;
00026 
00027 #define GO_CMD_CONTEXT_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), GO_TYPE_CMD_CONTEXT, GOCmdContextClass))
00028 #define GO_IS_CMD_CONTEXT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE((k), GO_TYPE_CMD_CONTEXT))
00029 
00030 /* protected, these do not really belong here, they are associated with io-context */
00031 void  go_cmd_context_progress_set     (GOCmdContext *gcc, double f);
00032 void  go_cmd_context_progress_message_set (GOCmdContext *gcc, char const *msg);
00033 
00034 G_END_DECLS
00035 
00036 #endif /* GO_CMD_CONTEXT_IMPL_H */

Generated on Wed Mar 5 2014 for AbiWord by  doxygen 1.7.1