| 1 | /* Procman process actions |
| 2 | * Copyright (C) 2001 Kevin Vandersloot |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License |
| 6 | * as published by the Free Software Foundation; either version 2 |
| 7 | * of the License, or (at your option) any later version. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU Library General Public |
| 15 | * License along with this program; if not, see <http://www.gnu.org/licenses/>. |
| 16 | * |
| 17 | */ |
| 18 | #ifndef _GSM_PROCACTIONS_H_ |
| 19 | #define _GSM_PROCACTIONS_H_ |
| 20 | |
| 21 | #include "application.h" |
| 22 | |
| 23 | void renice (GsmApplication *app, |
| 24 | int nice); |
| 25 | void |
| 26 | on_activate_send_signal (GSimpleAction *action, |
| 27 | GVariant *value, |
| 28 | gpointer data); |
| 29 | void |
| 30 | kill_process_with_confirmation (GsmApplication *app, |
| 31 | int signal, |
| 32 | gint32 proc); |
| 33 | void kill_process (GsmApplication *app, |
| 34 | int sig, |
| 35 | gint32 proc); |
| 36 | |
| 37 | #endif /* _GSM_PROCACTIONS_H_ */ |