filechooser.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef GCU_FILECHOOSER_H
00026 #define GCU_FILECHOOSER_H
00027
00028 #include <gtk/gtkstock.h>
00029 #include <gtk/gtkfilechooser.h>
00030 #include <list>
00031 #include <string>
00032
00033 namespace gcu
00034 {
00035
00036 class Application;
00037 class Document;
00038
00043 class FileChooser
00044 {
00045 public:
00060 FileChooser (Application *App, bool Save, std::list<std::string> mime_types, Document *pDoc = NULL, char const *title = NULL, GtkWidget *extra_widget = NULL);
00061
00062 private:
00063 GtkFileChooser* dialog;
00064 bool m_bSave;
00065 Application* m_pApp;
00066 Document* m_pDoc;
00067 };
00068
00069 }
00070
00071 #endif // GCU_FILECHOOSER_H