1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ 2 3 /* eel-mate-extensions.h - interface for new functions that operate on 4 mate classes. Perhaps some of these should be 5 rolled into mate someday. 6 7 Copyright (C) 1999, 2000, 2001 Eazel, Inc. 8 9 The Mate Library is free software; you can redistribute it and/or 10 modify it under the terms of the GNU Library General Public License as 11 published by the Free Software Foundation; either version 2 of the 12 License, or (at your option) any later version. 13 14 The Mate Library is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 Library General Public License for more details. 18 19 You should have received a copy of the GNU Library General Public 20 License along with the Mate Library; see the file COPYING.LIB. If not, 21 write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 22 Boston, MA 02110-1301, USA. 23 24 Authors: Darin Adler <darin@eazel.com> 25 */ 26 27 #ifndef EEL_MATE_EXTENSIONS_H 28 #define EEL_MATE_EXTENSIONS_H 29 30 #include <gtk/gtk.h> 31 32 /* Return a command string containing the path to a terminal on this system. */ 33 char * eel_mate_make_terminal_command (const char *command); 34 35 /* Open up a new terminal, optionally passing in a command to execute */ 36 void eel_mate_open_terminal_on_screen (const char *command, 37 GdkScreen *screen); 38 39 #endif /* EEL_MATE_EXTENSIONS_H */ 40