~ubuntu-branches/ubuntu/maverick/awn-extras-applets/maverick

« back to all changes in this revision

Viewing changes to applets/maintained/related/util.h

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2010-08-29 14:29:52 UTC
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20100829142952-rhvuetyms9bv5uu7
Tags: upstream-0.4.0+bzr1372
ImportĀ upstreamĀ versionĀ 0.4.0+bzr1372

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* 
 
2
 * Copyright (C) 2009 Rodney Cryderman <rcryderman@gmail.com> 
 
3
 *  
 
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.
 
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 Library General Public License for more details.
 
13
 * 
 
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
 
17
 */
 
18
 
 
19
#ifndef __TASK_MANAGER_UTIL_H__ 
 
20
#define __TASK_MANAGER_UTIL_H__
 
21
 
 
22
#include <libawn/libawn.h>
 
23
#include <libdesktop-agnostic/fdo.h>
 
24
 
 
25
 
 
26
gchar * get_special_id_from_desktop (DesktopAgnosticFDODesktopEntry *entry);
 
27
 
 
28
gchar * get_special_id_from_window_data (gchar * cmd, gchar *res_name, 
 
29
                                      gchar * class_name,const gchar *title);
 
30
 
 
31
GSList * get_special_desktop_from_window_data (gchar * cmd, gchar *res_name, 
 
32
                                              gchar * class_name,
 
33
                                              const gchar *title);
 
34
 
 
35
gchar * get_full_cmd_from_pid (gint pid);
 
36
 
 
37
gboolean check_if_blacklisted (gchar * name);
 
38
 
 
39
gboolean get_special_wait_from_window_data (gchar *res_name, 
 
40
                                            gchar * class_name,
 
41
                                            const gchar *title);
 
42
 
 
43
gboolean utils_gdk_pixbuf_similar_to (GdkPixbuf *i1, GdkPixbuf *i2);
 
44
 
 
45
gboolean usable_desktop_entry (  DesktopAgnosticFDODesktopEntry * entry);
 
46
 
 
47
gboolean usable_desktop_file_from_path ( const gchar * path);
 
48
 
 
49
char* _desktop_entry_get_localized_name (DesktopAgnosticFDODesktopEntry *entry);
 
50
 
 
51
#endif