Skip to content
Browse files

2009-01-16 Cody Russell <bratsche@gnome.org>

        * sdk-en/SDK.wxs
	* modules/vte-dev/sources/include/vte/pty.h
        * modules/vte-dev/sources/include/vte/reaper.h
        * modules/vte-dev/sources/include/vte/vte.h
        * modules/vte-dev/sources/include/vte/vteaccess.h
        * modules/vte-dev/sources/lib/pkgconfig/vte.pc
        * modules/vte-dev/vte-dev.build
        * modules/vte-dev/vte-dev.wxs: Add vte-dev merge module to
        contain vte headers and pkgconfig file.


svn path=/trunk/win32-installers/; revision=123647
  • Loading branch information...
1 parent 94c01e1 commit 158e386edb95e2aafc6932bf5316e2a7b398f881 @bratsche bratsche committed Jan 16, 2009
View
12 ChangeLog
@@ -1,3 +1,15 @@
+2009-01-16 Cody Russell <bratsche@gnome.org>
+
+ * sdk-en/SDK.wxs
+ * modules/vte-dev/sources/include/vte/pty.h
+ * modules/vte-dev/sources/include/vte/reaper.h
+ * modules/vte-dev/sources/include/vte/vte.h
+ * modules/vte-dev/sources/include/vte/vteaccess.h
+ * modules/vte-dev/sources/lib/pkgconfig/vte.pc
+ * modules/vte-dev/vte-dev.build
+ * modules/vte-dev/vte-dev.wxs: Add vte-dev merge module to
+ contain vte headers and pkgconfig file.
+
2009-01-14 Cody Russell <cody@jhu.edu>
* modules/gtk+-2.0-dev/sources/lib/pkgconfig/*.pc:
View
48 modules/vte-dev/sources/include/vte/pty.h
@@ -0,0 +1,48 @@
+/*
+ * Copyright (C) 2001,2002 Red Hat, Inc.
+ *
+ * This is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Library General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef vte_pty_h_included
+#define vte_pty_h_included
+
+#include <sys/types.h>
+
+G_BEGIN_DECLS
+
+/* Start up the given binary (exact path, not interpreted at all) in a
+ * pseudo-terminal of its own, returning the descriptor for the master
+ * side of the PTY pair, logging the session to the specified files, and
+ * storing the child's PID in the given argument. */
+int _vte_pty_open(pid_t *child, char **env_add,
+ const char *command, char **argv, const char *directory,
+ int columns, int rows,
+ gboolean lastlog, gboolean utmp, gboolean wtmp);
+
+/* Set or read the size of a terminal. Returns 0 on success, -1 on failure,
+ * with errno set to defined return codes from ioctl(). */
+int _vte_pty_get_size(int master, int *columns, int *rows);
+int _vte_pty_set_size(int master, int columns, int rows);
+
+/* Try to let the kernel know that the terminal is or is not UTF-8. */
+void _vte_pty_set_utf8(int pty, gboolean utf8);
+
+/* Close a pty. */
+void _vte_pty_close(int pty);
+
+G_END_DECLS
+
+#endif
View
64 modules/vte-dev/sources/include/vte/reaper.h
@@ -0,0 +1,64 @@
+/*
+ * Copyright (C) 2002 Red Hat, Inc.
+ *
+ * This is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Library General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef vte_reaper_h_included
+#define vte_reaper_h_included
+
+
+#include <sys/wait.h>
+#include <signal.h>
+#include <glib.h>
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+struct _VteReaper {
+ GObject object;
+ GIOChannel *channel;
+ int iopipe[2];
+};
+typedef struct _VteReaper VteReaper;
+
+struct _VteReaperClass {
+ GObjectClass parent_class;
+ guint child_exited_signal;
+};
+typedef struct _VteReaperClass VteReaperClass;
+
+GType vte_reaper_get_type(void);
+
+#define VTE_TYPE_REAPER (vte_reaper_get_type())
+#define VTE_REAPER(obj) (GTK_CHECK_CAST((obj), \
+ VTE_TYPE_REAPER, \
+ VteReaper))
+#define VTE_REAPER_CLASS(klass) GTK_CHECK_CLASS_CAST((klass), \
+ VTE_TYPE_REAPER, \
+ VteReaperClass)
+#define VTE_IS_REAPER(obj) GTK_CHECK_TYPE((obj), VTE_TYPE_REAPER)
+#define VTE_IS_REAPER_CLASS(klass) GTK_CHECK_CLASS_TYPE((klass), \
+ VTE_TYPE_REAPER)
+#define VTE_REAPER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), \
+ VTE_TYPE_REAPER, \
+ VteReaperClass))
+
+VteReaper *vte_reaper_get(void);
+int vte_reaper_add_child(GPid pid);
+
+G_END_DECLS
+
+#endif
View
411 modules/vte-dev/sources/include/vte/vte.h
@@ -0,0 +1,411 @@
+/*
+ * Copyright (C) 2001,2002,2003 Red Hat, Inc.
+ *
+ * This is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Library General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef vte_vte_h_included
+#define vte_vte_h_included
+
+#include <glib.h>
+#include <gtk/gtk.h>
+#include <pango/pango.h>
+
+#include <sys/types.h> /* for pid_t */
+
+G_BEGIN_DECLS
+
+/* Private implementation details. */
+typedef struct _VteTerminalPrivate VteTerminalPrivate;
+
+/* The terminal widget itself. */
+typedef struct _VteTerminal VteTerminal;
+struct _VteTerminal {
+ /*< public >*/
+
+ /* Widget implementation stuffs. */
+ GtkWidget widget;
+ GtkAdjustment *adjustment; /* Scrolling adjustment. */
+
+ /* Metric and sizing data. */
+ glong char_width, char_height; /* dimensions of character cells */
+ glong char_ascent, char_descent; /* important font metrics */
+ glong row_count, column_count; /* dimensions of the window */
+
+ /* Titles. */
+ char *window_title;
+ char *icon_title;
+
+ /*< private >*/
+ VteTerminalPrivate *pvt;
+};
+
+/* The widget's class structure. */
+typedef struct _VteTerminalClass VteTerminalClass;
+struct _VteTerminalClass {
+ /*< public > */
+ /* Inherited parent class. */
+ GtkWidgetClass parent_class;
+
+ /*< protected > */
+ /* Default signal handlers. */
+ void (*eof)(VteTerminal* terminal);
+ void (*child_exited)(VteTerminal* terminal);
+ void (*emulation_changed)(VteTerminal* terminal);
+ void (*encoding_changed)(VteTerminal* terminal);
+ void (*char_size_changed)(VteTerminal* terminal, guint char_width, guint char_height);
+ void (*window_title_changed)(VteTerminal* terminal);
+ void (*icon_title_changed)(VteTerminal* terminal);
+ void (*selection_changed)(VteTerminal* terminal);
+ void (*contents_changed)(VteTerminal* terminal);
+ void (*cursor_moved)(VteTerminal* terminal);
+ void (*status_line_changed)(VteTerminal* terminal);
+ void (*commit)(VteTerminal* terminal, gchar *text, guint size);
+
+ void (*deiconify_window)(VteTerminal* terminal);
+ void (*iconify_window)(VteTerminal* terminal);
+ void (*raise_window)(VteTerminal* terminal);
+ void (*lower_window)(VteTerminal* terminal);
+ void (*refresh_window)(VteTerminal* terminal);
+ void (*restore_window)(VteTerminal* terminal);
+ void (*maximize_window)(VteTerminal* terminal);
+ void (*resize_window)(VteTerminal* terminal, guint width, guint height);
+ void (*move_window)(VteTerminal* terminal, guint x, guint y);
+
+ void (*increase_font_size)(VteTerminal* terminal);
+ void (*decrease_font_size)(VteTerminal* terminal);
+
+ void (*text_modified)(VteTerminal* terminal);
+ void (*text_inserted)(VteTerminal* terminal);
+ void (*text_deleted)(VteTerminal* terminal);
+ void (*text_scrolled)(VteTerminal* terminal, gint delta);
+ void (*copy_clipboard)(VteTerminal* terminal);
+ void (*paste_clipboard)(VteTerminal* terminal);
+
+ /* Padding for future expansion. */
+ void (*vte_reserved1)(void);
+ void (*vte_reserved2)(void);
+ void (*vte_reserved3)(void);
+ void (*vte_reserved4)(void);
+
+ /*< private > */
+ /* Signals we might emit. */
+ guint eof_signal;
+ guint child_exited_signal;
+ guint emulation_changed_signal;
+ guint encoding_changed_signal;
+ guint char_size_changed_signal;
+ guint window_title_changed_signal;
+ guint icon_title_changed_signal;
+ guint selection_changed_signal;
+ guint contents_changed_signal;
+ guint cursor_moved_signal;
+ guint status_line_changed_signal;
+ guint commit_signal;
+
+ guint deiconify_window_signal;
+ guint iconify_window_signal;
+ guint raise_window_signal;
+ guint lower_window_signal;
+ guint refresh_window_signal;
+ guint restore_window_signal;
+ guint maximize_window_signal;
+ guint resize_window_signal;
+ guint move_window_signal;
+
+ guint increase_font_size_signal;
+ guint decrease_font_size_signal;
+
+ guint text_modified_signal;
+ guint text_inserted_signal;
+ guint text_deleted_signal;
+ guint text_scrolled_signal;
+
+ guint reserved1;
+ guint reserved2;
+ guint reserved3;
+ guint reserved4;
+ guint reserved5;
+ guint reserved6;
+};
+
+/* Values for "what should happen when the user hits backspace/delete". Use
+ * AUTO unless the user can cause them to be overridden. */
+typedef enum {
+ VTE_ERASE_AUTO,
+ VTE_ERASE_ASCII_BACKSPACE,
+ VTE_ERASE_ASCII_DELETE,
+ VTE_ERASE_DELETE_SEQUENCE
+} VteTerminalEraseBinding;
+
+/* Values for the anti alias setting */
+typedef enum {
+ VTE_ANTI_ALIAS_USE_DEFAULT,
+ VTE_ANTI_ALIAS_FORCE_ENABLE,
+ VTE_ANTI_ALIAS_FORCE_DISABLE
+} VteTerminalAntiAlias;
+
+/* The structure we return as the supplemental attributes for strings. */
+struct _VteCharAttributes {
+ long row, column;
+ GdkColor fore, back;
+ guint underline:1, strikethrough:1;
+};
+typedef struct _VteCharAttributes VteCharAttributes;
+
+/* The name of the same structure in the 0.10 series, for API compatibility. */
+struct vte_char_attributes {
+ long row, column;
+ GdkColor fore, back;
+ guint underline:1, strikethrough:1;
+};
+
+/* The widget's type. */
+GtkType vte_terminal_get_type(void);
+GtkType vte_terminal_erase_binding_get_type(void);
+GtkType vte_terminal_anti_alias_get_type(void);
+
+#define VTE_TYPE_TERMINAL (vte_terminal_get_type())
+#define VTE_TERMINAL(obj) (GTK_CHECK_CAST((obj),\
+ VTE_TYPE_TERMINAL,\
+ VteTerminal))
+#define VTE_TERMINAL_CLASS(klass) GTK_CHECK_CLASS_CAST((klass),\
+ VTE_TYPE_TERMINAL,\
+ VteTerminalClass)
+#define VTE_IS_TERMINAL(obj) GTK_CHECK_TYPE((obj),\
+ VTE_TYPE_TERMINAL)
+#define VTE_IS_TERMINAL_CLASS(klass) GTK_CHECK_CLASS_TYPE((klass),\
+ VTE_TYPE_TERMINAL)
+#define VTE_TERMINAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VTE_TYPE_TERMINAL, VteTerminalClass))
+
+#define VTE_TYPE_TERMINAL_ERASE_BINDING (vte_terminal_erase_binding_get_type())
+#define VTE_IS_TERMINAL_ERASE_BINDING(obj) GTK_CHECK_TYPE((obj),\
+ VTE_TYPE_TERMINAL_ERASE_BINDING)
+#define VTE_TYPE_TERMINAL_ANTI_ALIAS (vte_terminal_anti_alias_get_type())
+#define VTE_IS_TERMINAL_ANTI_ALIAS(obj) GTK_CHECK_TYPE((obj),\
+ VTE_TYPE_TERMINAL_ANTI_ALIAS)
+
+/* You can get by with just these two functions. */
+GtkWidget *vte_terminal_new(void);
+pid_t vte_terminal_fork_command(VteTerminal *terminal,
+ const char *command, char **argv,
+ char **envv, const char *directory,
+ gboolean lastlog,
+ gboolean utmp,
+ gboolean wtmp);
+
+/* Users of libzvt may find this useful. */
+pid_t vte_terminal_forkpty(VteTerminal *terminal,
+ char **envv, const char *directory,
+ gboolean lastlog,
+ gboolean utmp,
+ gboolean wtmp);
+
+/* Send data to the terminal to display, or to the terminal's forked command
+ * to handle in some way. If it's 'cat', they should be the same. */
+void vte_terminal_feed(VteTerminal *terminal, const char *data, glong length);
+void vte_terminal_feed_child(VteTerminal *terminal, const char *text, glong length);
+void vte_terminal_feed_child_binary(VteTerminal *terminal, const char *data, glong length);
+
+/* Copy currently-selected text to the clipboard, or from the clipboard to
+ * the terminal. */
+void vte_terminal_copy_clipboard(VteTerminal *terminal);
+void vte_terminal_paste_clipboard(VteTerminal *terminal);
+void vte_terminal_copy_primary(VteTerminal *terminal);
+void vte_terminal_paste_primary(VteTerminal *terminal);
+
+/* simple manipulation of selection */
+void vte_terminal_select_all(VteTerminal *terminal);
+void vte_terminal_select_none(VteTerminal *terminal);
+
+/* Set the terminal's size. */
+void vte_terminal_set_size(VteTerminal *terminal,
+ glong columns, glong rows);
+
+/* Set various on-off settings. */
+void vte_terminal_set_audible_bell(VteTerminal *terminal, gboolean is_audible);
+gboolean vte_terminal_get_audible_bell(VteTerminal *terminal);
+void vte_terminal_set_visible_bell(VteTerminal *terminal, gboolean is_visible);
+gboolean vte_terminal_get_visible_bell(VteTerminal *terminal);
+void vte_terminal_set_scroll_background(VteTerminal *terminal, gboolean scroll);
+void vte_terminal_set_scroll_on_output(VteTerminal *terminal, gboolean scroll);
+void vte_terminal_set_scroll_on_keystroke(VteTerminal *terminal,
+ gboolean scroll);
+
+/* Set the color scheme. */
+void vte_terminal_set_color_dim(VteTerminal *terminal,
+ const GdkColor *dim);
+void vte_terminal_set_color_bold(VteTerminal *terminal,
+ const GdkColor *bold);
+void vte_terminal_set_color_foreground(VteTerminal *terminal,
+ const GdkColor *foreground);
+void vte_terminal_set_color_background(VteTerminal *terminal,
+ const GdkColor *background);
+void vte_terminal_set_color_cursor(VteTerminal *terminal,
+ const GdkColor *cursor_background);
+void vte_terminal_set_color_highlight(VteTerminal *terminal,
+ const GdkColor *highlight_background);
+void vte_terminal_set_colors(VteTerminal *terminal,
+ const GdkColor *foreground,
+ const GdkColor *background,
+ const GdkColor *palette,
+ glong palette_size);
+void vte_terminal_set_default_colors(VteTerminal *terminal);
+
+/* Background effects. */
+void vte_terminal_set_background_image(VteTerminal *terminal, GdkPixbuf *image);
+void vte_terminal_set_background_image_file(VteTerminal *terminal,
+ const char *path);
+void vte_terminal_set_background_tint_color(VteTerminal *terminal,
+ const GdkColor *color);
+void vte_terminal_set_background_saturation(VteTerminal *terminal,
+ double saturation);
+void vte_terminal_set_background_transparent(VteTerminal *terminal,
+ gboolean transparent);
+void vte_terminal_set_opacity(VteTerminal *terminal, guint16 opacity);
+
+/* Set whether or not the cursor blinks. */
+void vte_terminal_set_cursor_blinks(VteTerminal *terminal, gboolean blink);
+
+/* Set the number of scrollback lines, above or at an internal minimum. */
+void vte_terminal_set_scrollback_lines(VteTerminal *terminal, glong lines);
+
+/* Append the input method menu items to a given shell. */
+void vte_terminal_im_append_menuitems(VteTerminal *terminal,
+ GtkMenuShell *menushell);
+
+/* Set or retrieve the current font. */
+void vte_terminal_set_font(VteTerminal *terminal,
+ const PangoFontDescription *font_desc);
+void vte_terminal_set_font_full(VteTerminal *terminal,
+ const PangoFontDescription *font_desc,
+ VteTerminalAntiAlias antialias);
+void vte_terminal_set_font_from_string(VteTerminal *terminal, const char *name);
+void vte_terminal_set_font_from_string_full(VteTerminal *terminal,
+ const char *name,
+ VteTerminalAntiAlias antialias);
+const PangoFontDescription *vte_terminal_get_font(VteTerminal *terminal);
+gboolean vte_terminal_get_using_xft(VteTerminal *terminal);
+void vte_terminal_set_allow_bold(VteTerminal *terminal, gboolean allow_bold);
+gboolean vte_terminal_get_allow_bold(VteTerminal *terminal);
+
+/* Check if the terminal is the current selection owner. */
+gboolean vte_terminal_get_has_selection(VteTerminal *terminal);
+
+/* Set the list of word chars, optionally using hyphens to specify ranges
+ * (to get a hyphen, place it first), and check if a character is in the
+ * range. */
+void vte_terminal_set_word_chars(VteTerminal *terminal, const char *spec);
+gboolean vte_terminal_is_word_char(VteTerminal *terminal, gunichar c);
+
+/* Set what happens when the user strikes backspace or delete. */
+void vte_terminal_set_backspace_binding(VteTerminal *terminal,
+ VteTerminalEraseBinding binding);
+void vte_terminal_set_delete_binding(VteTerminal *terminal,
+ VteTerminalEraseBinding binding);
+
+/* Manipulate the autohide setting. */
+void vte_terminal_set_mouse_autohide(VteTerminal *terminal, gboolean setting);
+gboolean vte_terminal_get_mouse_autohide(VteTerminal *terminal);
+
+/* Reset the terminal, optionally clearing the tab stops and line history. */
+void vte_terminal_reset(VteTerminal *terminal, gboolean full,
+ gboolean clear_history);
+
+/* Read the contents of the terminal, using a callback function to determine
+ * if a particular location on the screen (0-based) is interesting enough to
+ * include. Each byte in the returned string will have a corresponding
+ * VteCharAttributes structure in the passed GArray, if the array was not NULL.
+ * Note that it will have one entry per byte, not per character, so indexes
+ * should match up exactly. */
+char *vte_terminal_get_text(VteTerminal *terminal,
+ gboolean(*is_selected)(VteTerminal *terminal,
+ glong column,
+ glong row,
+ gpointer data),
+ gpointer data,
+ GArray *attributes);
+char *vte_terminal_get_text_include_trailing_spaces(VteTerminal *terminal,
+ gboolean(*is_selected)(VteTerminal *terminal,
+ glong column,
+ glong row,
+ gpointer data),
+ gpointer data,
+ GArray *attributes);
+char *vte_terminal_get_text_range(VteTerminal *terminal,
+ glong start_row, glong start_col,
+ glong end_row, glong end_col,
+ gboolean(*is_selected)(VteTerminal *terminal,
+ glong column,
+ glong row,
+ gpointer data),
+ gpointer data,
+ GArray *attributes);
+void vte_terminal_get_cursor_position(VteTerminal *terminal,
+ glong *column, glong *row);
+/* Display string matching: clear all matching expressions. */
+void vte_terminal_match_clear_all(VteTerminal *terminal);
+
+/* Add a matching expression, returning the tag the widget assigns to that
+ * expression. */
+int vte_terminal_match_add(VteTerminal *terminal, const char *match);
+/* Set the cursor to be used when the pointer is over a given match. */
+void vte_terminal_match_set_cursor(VteTerminal *terminal, int tag,
+ GdkCursor *cursor);
+void vte_terminal_match_set_cursor_type(VteTerminal *terminal,
+ int tag, GdkCursorType cursor_type);
+/* Remove a matching expression by tag. */
+void vte_terminal_match_remove(VteTerminal *terminal, int tag);
+
+/* Check if a given cell on the screen contains part of a matched string. If
+ * it does, return the string, and store the match tag in the optional tag
+ * argument. */
+char *vte_terminal_match_check(VteTerminal *terminal,
+ glong column, glong row,
+ int *tag);
+
+/* Set the emulation type. Most of the time you won't need this. */
+void vte_terminal_set_emulation(VteTerminal *terminal, const char *emulation);
+const char *vte_terminal_get_emulation(VteTerminal *terminal);
+const char *vte_terminal_get_default_emulation(VteTerminal *terminal);
+
+/* Set the character encoding. Most of the time you won't need this. */
+void vte_terminal_set_encoding(VteTerminal *terminal, const char *codeset);
+const char *vte_terminal_get_encoding(VteTerminal *terminal);
+
+/* Get the contents of the status line. */
+const char *vte_terminal_get_status_line(VteTerminal *terminal);
+
+/* Get the padding the widget is using. */
+void vte_terminal_get_padding(VteTerminal *terminal, int *xpad, int *ypad);
+
+/* Attach an existing PTY master side to the terminal widget. Use
+ * instead of vte_terminal_fork_command(). */
+void vte_terminal_set_pty(VteTerminal *terminal, int pty_master);
+
+/* Accessors for bindings. */
+GtkAdjustment *vte_terminal_get_adjustment(VteTerminal *terminal);
+glong vte_terminal_get_char_width(VteTerminal *terminal);
+glong vte_terminal_get_char_height(VteTerminal *terminal);
+glong vte_terminal_get_char_descent(VteTerminal *terminal);
+glong vte_terminal_get_char_ascent(VteTerminal *terminal);
+glong vte_terminal_get_row_count(VteTerminal *terminal);
+glong vte_terminal_get_column_count(VteTerminal *terminal);
+const char *vte_terminal_get_window_title(VteTerminal *terminal);
+const char *vte_terminal_get_icon_title(VteTerminal *terminal);
+
+G_END_DECLS
+
+#endif
View
104 modules/vte-dev/sources/include/vte/vteaccess.h
@@ -0,0 +1,104 @@
+/*
+ * Copyright (C) 2002 Red Hat, Inc.
+ *
+ * This is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Library General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef vte_vteaccess_h_included
+#define vte_vteaccess_h_included
+
+
+#include <glib.h>
+#include <gtk/gtk.h>
+#include "vte.h"
+
+G_BEGIN_DECLS
+
+/* The terminal accessibility object itself. */
+typedef struct _VteTerminalAccessible VteTerminalAccessible;
+struct _VteTerminalAccessible {
+ /*< public > */
+ GtkAccessible parent;
+ /*< private > */
+ /* Unknown GailWidget implementation stuffs, exact size of which is
+ * worked out at run-time. */
+};
+
+/* The object's class structure. */
+typedef struct _VteTerminalAccessibleClass VteTerminalAccessibleClass;
+struct _VteTerminalAccessibleClass {
+ /*< public > */
+ /* Inherited parent class. */
+ GtkAccessibleClass parent_class;
+ /*< private > */
+ /* Unknown GailWidgetClass implementation stuffs, exact size of which
+ * is worked out at run-time. */
+};
+
+/* The object's type. */
+GtkType vte_terminal_accessible_get_type(void);
+
+#define VTE_TYPE_TERMINAL_ACCESSIBLE (vte_terminal_accessible_get_type())
+#define VTE_TERMINAL_ACCESSIBLE(obj) (GTK_CHECK_CAST((obj),\
+ VTE_TYPE_TERMINAL_ACCESSIBLE,\
+ VteTerminalAccessible))
+#define VTE_TERMINAL_ACCESSIBLE_CLASS(klass) GTK_CHECK_CLASS_CAST((klass),\
+ VTE_TYPE_TERMINAL_ACCESSIBLE,\
+ VteTerminalAccessibleClass)
+#define VTE_IS_TERMINAL_ACCESSIBLE(obj) GTK_CHECK_TYPE((obj),\
+ VTE_TYPE_TERMINAL_ACCESSIBLE)
+#define VTE_IS_TERMINAL_ACCESSIBLE_CLASS(klass) GTK_CHECK_CLASS_TYPE((klass),\
+ VTE_TYPE_TERMINAL_ACCESSIBLE)
+#define VTE_TERMINAL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VTE_TYPE_TERMINAL_ACCESSIBLE, VteTerminalAccessibleClass))
+
+AtkObject *vte_terminal_accessible_new(VteTerminal *terminal);
+
+/* The terminal accessibility object's factory. */
+typedef struct _VteTerminalAccessibleFactory VteTerminalAccessibleFactory;
+struct _VteTerminalAccessibleFactory {
+ /*< public > */
+ AtkObjectFactory parent;
+ /*< private > */
+};
+
+/* The object's class structure. */
+typedef struct _VteTerminalAccessibleFactoryClass VteTerminalAccessibleFactoryClass;
+struct _VteTerminalAccessibleFactoryClass {
+ /*< public > */
+ AtkObjectFactoryClass parent;
+ /*< private > */
+};
+
+/* The object's factory's type. */
+GtkType vte_terminal_accessible_factory_get_type(void);
+
+#define VTE_TYPE_TERMINAL_ACCESSIBLE_FACTORY (vte_terminal_accessible_factory_get_type())
+#define VTE_TERMINAL_ACCESSIBLE_FACTORY(obj) (GTK_CHECK_CAST((obj),\
+ VTE_TYPE_TERMINAL_ACCESSIBLE_FACTORY,\
+ VteTerminalAccessibleFactory))
+#define VTE_TERMINAL_ACCESSIBLE_FACTORY_CLASS(klass) GTK_CHECK_CLASS_CAST((klass),\
+ VTE_TYPE_TERMINAL_ACCESSIBLE_FACTORY,\
+ VteTerminalAccessibleFactoryClass)
+#define VTE_IS_TERMINAL_ACCESSIBLE_FACTORY(obj) GTK_CHECK_TYPE((obj),\
+ VTE_TYPE_TERMINAL_ACCESSIBLE_FACTORY)
+#define VTE_IS_TERMINAL_ACCESSIBLE_FACTORY_CLASS(klass) GTK_CHECK_CLASS_TYPE((klass),\
+ VTE_TYPE_TERMINAL_ACCESSIBLE_FACTORY)
+#define VTE_TERMINAL_ACCESSIBLE_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VTE_TYPE_TERMINAL_ACCESSIBLE_FACTORY, VteTerminalAccessibleFactoryClass))
+
+AtkObjectFactory *vte_terminal_accessible_factory_new(void);
+
+G_END_DECLS
+
+#endif
View
14 modules/vte-dev/sources/lib/pkgconfig/vte.pc
@@ -0,0 +1,14 @@
+prefix=/opt/gtk
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+defaultemulation=xterm
+
+Name: vte
+Description: Vte terminal widget.
+Version: 0.16.9
+Requires: glib-2.0 gobject-2.0 gtk+-2.0 fontconfig pango
+Libs: -L${libdir} -lvte
+Libs.private: -lfreetype -lz
+Cflags: -I${includedir} -I/usr/include/freetype2
View
4 modules/vte-dev/vte-dev.build
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<project name="vte-dev" default="build">
+ <include buildfile="../../build/module.include" />
+</project>
View
28 modules/vte-dev/vte-dev.wxs
@@ -0,0 +1,28 @@
+<?xml version="1.0" ?>
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
+ <Module Id="vte_dev" Language="1033" Version="0.16.9">
+ <Package Id="10f6e37a-e189-11dd-933b-00146c2e6bb6" InstallerVersion="200" Manufacturer="GNOME Project"/>
+ <Directory Id="TARGETDIR" Name="SourceDir">
+ <Directory Id="MergeRedirectFolder">
+ <Directory Id="include" Name="include">
+ <Directory Id="vte" Name="vte">
+ <Component Guid="10f6e37b-e189-11dd-933b-00146c2e6bb6" Id="vte_component">
+ <File Id="reaper_h" Name="reaper.h" Source="sources/include/vte/reaper.h" Vital="yes"/>
+ <File Id="vte_h" Name="vte.h" Source="sources/include/vte/vte.h" Vital="yes"/>
+ <File Id="vteaccess_h" Name="vteaccess.h" Source="sources/include/vte/vteaccess.h" Vital="yes"/>
+ <File Id="pty_h" Name="pty.h" Source="sources/include/vte/pty.h" Vital="yes"/>
+ </Component>
+ </Directory>
+ </Directory>
+ <Directory Id="lib" Name="lib">
+ <Directory Id="pkgconfig" Name="pkgconfig">
+ <Component Guid="9f8ecd3a-e1a0-11dd-933b-00146c2e6bb6" Id="vtepkgconfig_component">
+ <File Id="vte_pc" Name="vte.pc" Source="sources/lib/pkgconfig/vte.pc" Vital="yes"/>
+ </Component>
+ </Directory>
+ </Directory>
+ </Directory>
+ </Directory>
+ </Module>
+</Wix>
+
View
2 sdk-en/SDK.wxs
@@ -31,6 +31,7 @@
<Merge Id="poppler-lib" Language="1033" SourceFile="../modules/poppler-lib/poppler-lib.msm" DiskId="1" />
<Merge Id="aspell-lib" Language="1033" SourceFile="../modules/aspell-lib/aspell-lib.msm" DiskId="1" />
<Merge Id="vte-lib" Language="1033" SourceFile="../modules/vte-lib/vte-lib.msm" DiskId="1" />
+ <Merge Id="vte-dev" Language="1033" SourceFile="../modules/vte-dev/vte-dev.msm" DiskId="1" />
<Merge Id="vte-sharp-lib" Language="1033" SourceFile="../modules/vte-sharp-lib/vte-sharp-lib.msm" DiskId="1" />
<Merge Id="vte-sharp-dev" Language="1033" SourceFile="../modules/vte-sharp-dev/vte-sharp-dev.msm" DiskId="1" />
@@ -102,6 +103,7 @@
<MergeRef Id="poppler-lib" />
<MergeRef Id="aspell-lib" />
<MergeRef Id="vte-lib" />
+ <MergeRef Id="vte-dev" />
<MergeRef Id="vte-sharp-lib" />
<MergeRef Id="vte-sharp-dev" />
<ComponentRef Id="urls" />

0 comments on commit 158e386

Please sign in to comment.
Something went wrong with that request. Please try again.