2
* Copyright (C) 2010 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
18
* Authored by Rodney Cryderman <rcryderman@gmail.com>
20
/* awn-desktop-lookup.h */
22
#ifndef _AWN_DESKTOP_LOOKUP
23
#define _AWN_DESKTOP_LOOKUP
25
#include <glib-object.h>
29
#define AWN_TYPE_DESKTOP_LOOKUP awn_desktop_lookup_get_type()
31
#define AWN_DESKTOP_LOOKUP(obj) \
32
(G_TYPE_CHECK_INSTANCE_CAST ((obj), AWN_TYPE_DESKTOP_LOOKUP, AwnDesktopLookup))
34
#define AWN_DESKTOP_LOOKUP_CLASS(klass) \
35
(G_TYPE_CHECK_CLASS_CAST ((klass), AWN_TYPE_DESKTOP_LOOKUP, AwnDesktopLookupClass))
37
#define AWN_IS_DESKTOP_LOOKUP(obj) \
38
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), AWN_TYPE_DESKTOP_LOOKUP))
40
#define AWN_IS_DESKTOP_LOOKUP_CLASS(klass) \
41
(G_TYPE_CHECK_CLASS_TYPE ((klass), AWN_TYPE_DESKTOP_LOOKUP))
43
#define AWN_DESKTOP_LOOKUP_GET_CLASS(obj) \
44
(G_TYPE_INSTANCE_GET_CLASS ((obj), AWN_TYPE_DESKTOP_LOOKUP, AwnDesktopLookupClass))
51
GObjectClass parent_class;
52
} AwnDesktopLookupClass;
54
GType awn_desktop_lookup_get_type (void);
56
AwnDesktopLookup* awn_desktop_lookup_new (void);
57
gchar *awn_desktop_lookup_search_for_desktop (gulong xid);
58
gchar *awn_desktop_lookup_search_cache (AwnDesktopLookup* * self,
63
gchar *awn_desktop_lookup_special_case (gchar * cmd,
74
#endif /* _AWN_DESKTOP_LOOKUP */