25 #ifndef GCR_APPLICATION_H
26 #define GCR_APPLICATION_H
29 #include <goffice/goffice.h>
128 bool FileProcess (
const gchar* filename,
const gchar* mime_type,
bool bSave, GtkWindow *window,
gcu::Document *pDoc = NULL);
164 void AddMimeType (std::list<std::string> &l, std::string
const& mime_type);
173 std::list<std::string> m_SupportedMimeTypes;
174 std::list<std::string> m_WriteableMimeTypes;
175 std::list <View*> m_Views;
176 GtkUIManager* m_UIManager;
179 guint m_NotificationId;
189 #endif // GCR_APPLICATION_H
#define GCU_RO_PROP(type, member)
Document * GetDocument(const char *filename)
bool FileProcess(const gchar *filename, const gchar *mime_type, bool bSave, GtkWindow *window, gcu::Document *pDoc=NULL)
GCrystal application base class.
The crystal structures related classes.
char const * GetNextSupportedMimeType(std::list< std::string >::iterator &it)
virtual gcr::Document * OnFileNew()=0
char const * GetFirstSupportedMimeType(std::list< std::string >::iterator &it)
void SetActiveDocument(Document *doc)
virtual Window * CreateNewWindow(Document *doc)