2
* Copyright (C) 2009 Rodney Cryderman <rcryderman@gmail.com>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
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 Library General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA
19
#ifndef __TASK_MANAGER_UTIL_H__
20
#define __TASK_MANAGER_UTIL_H__
22
#include <libawn/libawn.h>
23
#include <libdesktop-agnostic/fdo.h>
26
gchar * get_special_id_from_desktop (DesktopAgnosticFDODesktopEntry *entry);
28
gchar * get_special_id_from_window_data (gchar * cmd, gchar *res_name,
29
gchar * class_name,const gchar *title);
31
GSList * get_special_desktop_from_window_data (gchar * cmd, gchar *res_name,
35
gchar * get_full_cmd_from_pid (gint pid);
37
gboolean check_if_blacklisted (gchar * name);
39
gboolean get_special_wait_from_window_data (gchar *res_name,
43
gboolean utils_gdk_pixbuf_similar_to (GdkPixbuf *i1, GdkPixbuf *i2);
45
gboolean usable_desktop_entry ( DesktopAgnosticFDODesktopEntry * entry);
47
gboolean usable_desktop_file_from_path ( const gchar * path);
49
char* _desktop_entry_get_localized_name (DesktopAgnosticFDODesktopEntry *entry);