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

« back to all changes in this revision

Viewing changes to applets/maintained/related/awn-desktop-lookup-cached.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,2010 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
 * Authored by Rodney Cryderman <rcryderman@gmail.com>
 
19
 */
 
20
 
 
21
/* awn-desktop-lookup-cached.h */
 
22
 
 
23
#ifndef _AWN_DESKTOP_LOOKUP_CACHED
 
24
#define _AWN_DESKTOP_LOOKUP_CACHED
 
25
 
 
26
#include "awn-desktop-lookup.h"
 
27
#include <glib-object.h>
 
28
#include <libwnck/libwnck.h>
 
29
 
 
30
G_BEGIN_DECLS
 
31
 
 
32
#define AWN_TYPE_DESKTOP_LOOKUP_CACHED awn_desktop_lookup_cached_get_type()
 
33
 
 
34
#define AWN_DESKTOP_LOOKUP_CACHED(obj) \
 
35
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), AWN_TYPE_DESKTOP_LOOKUP_CACHED, AwnDesktopLookupCached))
 
36
 
 
37
#define AWN_DESKTOP_LOOKUP_CACHED_CLASS(klass) \
 
38
  (G_TYPE_CHECK_CLASS_CAST ((klass), AWN_TYPE_DESKTOP_LOOKUP_CACHED, AwnDesktopLookupCachedClass))
 
39
 
 
40
#define AWN_IS_DESKTOP_LOOKUP_CACHED(obj) \
 
41
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AWN_TYPE_DESKTOP_LOOKUP_CACHED))
 
42
 
 
43
#define AWN_IS_DESKTOP_LOOKUP_CACHED_CLASS(klass) \
 
44
  (G_TYPE_CHECK_CLASS_TYPE ((klass), AWN_TYPE_DESKTOP_LOOKUP_CACHED))
 
45
 
 
46
#define AWN_DESKTOP_LOOKUP_CACHED_GET_CLASS(obj) \
 
47
  (G_TYPE_INSTANCE_GET_CLASS ((obj), AWN_TYPE_DESKTOP_LOOKUP_CACHED, AwnDesktopLookupCachedClass))
 
48
 
 
49
typedef struct {
 
50
  AwnDesktopLookup parent;
 
51
} AwnDesktopLookupCached;
 
52
 
 
53
typedef struct {
 
54
  AwnDesktopLookupClass parent_class;
 
55
} AwnDesktopLookupCachedClass;
 
56
 
 
57
GType awn_desktop_lookup_cached_get_type (void);
 
58
 
 
59
AwnDesktopLookupCached* awn_desktop_lookup_cached_new (void);
 
60
 
 
61
const gchar *awn_desktop_lookup_search_by_wnck_window (AwnDesktopLookupCached * lookup, WnckWindow * win);
 
62
 
 
63
G_END_DECLS
 
64
 
 
65
#endif /* _AWN_DESKTOP_LOOKUP_CACHED */
 
66