• 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, ErrorInfo *err);
00018     } error;
00019 
00020     void    (*progress_set)     (GOCmdContext *gcc, float val);
00021     void    (*progress_message_set) (GOCmdContext *gcc, gchar const *msg);
00022 } GOCmdContextClass;
00023 
00024 #define GO_CMD_CONTEXT_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), GO_CMD_CONTEXT_TYPE, GOCmdContextClass))
00025 #define IS_GO_CMD_CONTEXT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE((k), GO_CMD_CONTEXT_TYPE))
00026 
00027 /* protected, these do not really belong here, they are associated with io-context */
00028 void  go_cmd_context_progress_set     (GOCmdContext *gcc, float f);
00029 void  go_cmd_context_progress_message_set (GOCmdContext *gcc, char const *msg);
00030 
00031 G_END_DECLS
00032 
00033 #endif /* GO_CMD_CONTEXT_IMPL_H */

Generated on Wed Mar 5 2014 for AbiWord by  doxygen 1.7.1