Clean up Tomboy's code
[tilda-gobject.git] / tilda-terminal.h
index 80b1bef..5d59a50 100644 (file)
@@ -5,6 +5,8 @@
 #include <gtk/gtk.h>
 #include <vte/vte.h>
 
+#include "tilda-window.h"
+
 
 #define TILDA_TYPE_TERMINAL                            (tilda_terminal_get_type())
 #define TILDA_TERMINAL(obj)                            (G_TYPE_CHECK_INSTANCE_CAST ((obj), TILDA_TYPE_TERMINAL, TildaTerminal))
@@ -21,8 +23,7 @@ struct _TildaTerminal {
        gboolean dispose_has_run;
 
        /* Instance Members */
-       // FIXME: ADD THESE BACK
-       // TildaWindow *tw;
+       GObject *parent_window;
        GtkWidget *vte_term;
        GtkWidget *scrollbar;
        GtkWidget *hbox;
@@ -33,6 +34,7 @@ struct _TildaTerminal {
        gchar *font;
        gchar *title;
        gchar *working_directory;
+       gchar *web_browser;
 
        gint scrollback_lines;
        gint transparency_percent;
@@ -48,6 +50,7 @@ struct _TildaTerminal {
        gint delete_binding;
        gint dynamic_title;
        gint exit_action;
+       gint scrollbar_position;
        // TODO: gint colorscheme; the code can work around the need for
        // TODO: this value. Just check if the back and fore colors match
        // TODO: any pre-defined colorschemes exactly in the GUI.
@@ -64,6 +67,7 @@ struct _TildaTerminal {
        gboolean audible_bell;
        gboolean visible_bell;
        gboolean double_buffered;
+       gboolean mouse_autohide;
 };
 
 struct _TildaTerminalClass {
@@ -76,8 +80,9 @@ struct _TildaTerminalClass {
 GType tilda_terminal_get_type (void);
 
 /* API */
+gboolean tilda_terminal_run_command (TildaTerminal *self, gchar *command, GError **error);
+gboolean tilda_terminal_close (TildaTerminal *self, GError **error);
 
 #endif /* TILDA_TERMINAL_H */
 
 /* vim: set ts=4 sts=4 sw=4 noet tw=112: */
-