/* * xfce4-taskmanager - very simple taskmanger * * Copyright (c) 2005 Johannes Zellner, * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU 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 Library General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef FUNCTIONS_H #define FUNCTIONS_H #include #include #include #include #include #include #include #include #include #include #include #include "types.h" #include "interface.h" #ifdef LINUX #include "xfce-taskmanager-linux.h" #endif #define PROC_DIR_1 "/compat/linux/proc" #define PROC_DIR_2 "/emul/linux/proc" #define PROC_DIR_3 "/proc" gboolean refresh_task_list(void); gdouble get_cpu_usage(system_status *sys_stat); void send_signal_to_task(gchar *task_id, gchar *signal); /* Configurationfile support */ void load_config(void); void save_config(void); #endif