2
* Copyright (C) 2009,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>
21
/* awn-desktop-lookup-cached.h */
23
#ifndef _AWN_DESKTOP_LOOKUP_CACHED
24
#define _AWN_DESKTOP_LOOKUP_CACHED
26
#include "awn-desktop-lookup.h"
27
#include <glib-object.h>
28
#include <libwnck/libwnck.h>
32
#define AWN_TYPE_DESKTOP_LOOKUP_CACHED awn_desktop_lookup_cached_get_type()
34
#define AWN_DESKTOP_LOOKUP_CACHED(obj) \
35
(G_TYPE_CHECK_INSTANCE_CAST ((obj), AWN_TYPE_DESKTOP_LOOKUP_CACHED, AwnDesktopLookupCached))
37
#define AWN_DESKTOP_LOOKUP_CACHED_CLASS(klass) \
38
(G_TYPE_CHECK_CLASS_CAST ((klass), AWN_TYPE_DESKTOP_LOOKUP_CACHED, AwnDesktopLookupCachedClass))
40
#define AWN_IS_DESKTOP_LOOKUP_CACHED(obj) \
41
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), AWN_TYPE_DESKTOP_LOOKUP_CACHED))
43
#define AWN_IS_DESKTOP_LOOKUP_CACHED_CLASS(klass) \
44
(G_TYPE_CHECK_CLASS_TYPE ((klass), AWN_TYPE_DESKTOP_LOOKUP_CACHED))
46
#define AWN_DESKTOP_LOOKUP_CACHED_GET_CLASS(obj) \
47
(G_TYPE_INSTANCE_GET_CLASS ((obj), AWN_TYPE_DESKTOP_LOOKUP_CACHED, AwnDesktopLookupCachedClass))
50
AwnDesktopLookup parent;
51
} AwnDesktopLookupCached;
54
AwnDesktopLookupClass parent_class;
55
} AwnDesktopLookupCachedClass;
57
GType awn_desktop_lookup_cached_get_type (void);
59
AwnDesktopLookupCached* awn_desktop_lookup_cached_new (void);
61
const gchar *awn_desktop_lookup_search_by_wnck_window (AwnDesktopLookupCached * lookup, WnckWindow * win);
65
#endif /* _AWN_DESKTOP_LOOKUP_CACHED */