1 #pragma once 2 3 #include <string> 4 #include <gtk/gtk.h> 5 #include "../common/UFOScriptDefinitionView.h" 6 7 namespace ui 8 { 9 class UFOScriptEditor 10 { 11 private: 12 13 UFOScriptDefinitionView _view; 14 // Main dialog widget 15 GtkWidget* _dialog; 16 17 public: 18 19 UFOScriptEditor (const std::string& ufoScriptName, const std::string& append = ""); 20 21 virtual ~UFOScriptEditor (); 22 23 void goToLine (int lineNumber); 24 25 void show (); 26 }; 27 } 28