1 /* 2 * Copyright (c) 2008-2010 Lu, Chao-Ming (Tetralet). All rights reserved. 3 * 4 * This file is part of LilyTerm. 5 * 6 * LilyTerm is free software: you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation, either version 3 of the License, or 9 * (at your option) any later version. 10 * 11 * LilyTerm is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with LilyTerm. If not, see <http://www.gnu.org/licenses/>. 18 */ 19 20 #include <gtk/gtk.h> 21 #include <vte/vte.h> 22 // for aoti() 23 #include <stdlib.h> 24 // for strlen() 25 #include <string.h> 26 // for usleep() 27 #include <unistd.h> 28 // for stat() 29 #include <sys/stat.h> 30 #include "lilyterm.h" 31 32 gboolean check_cmdline (struct Page *page_data, pid_t check_tpgid); 33 gboolean check_window_title (struct Page *page_data, gboolean lost_focus); 34 gboolean check_pwd(struct Page *page_data, gchar *pwd, gchar *new_pwd, gint page_update_method); 35 gchar *get_tab_name_with_page_names(struct Window *win_data); 36 gchar *get_tab_name_with_cmdline(struct Page *page_data); 37