UMPDefinitionView.h

Go to the documentation of this file.
00001 #ifndef UMP_DEFINITION_VIEW_H_
00002 #define UMP_DEFINITION_VIEW_H_
00003 
00004 #include <string>
00005 #include "gtkutil/SourceView.h"
00006 typedef struct _GtkWidget GtkWidget;
00007 
00008 namespace ui
00009 {
00010     class UMPDefinitionView
00011     {
00012             // The ump file that should be shown
00013             std::string _umpFile;
00014 
00015             // The top-level widget
00016             GtkWidget* _vbox;
00017 
00018             GtkWidget* _umpFileName;
00019 
00020             // The actual code view
00021             gtkutil::SourceView _view;
00022 
00023         public:
00024             UMPDefinitionView ();
00025 
00026             // Returns the topmost widget for packing this view into a parent container
00027             GtkWidget* getWidget ();
00028 
00029             void setUMPFile (const std::string& umpFile);
00030 
00031             void update ();
00032 
00033             void append (const std::string& append);
00034 
00035             void save ();
00036     };
00037 
00038 } // namespace ui
00039 
00040 #endif /* UMP_DEFINITION_VIEW_H_ */

Generated by  doxygen 1.6.2