~ubuntu-branches/ubuntu/oneiric/mutter/oneiric-201109070806

« back to all changes in this revision

Viewing changes to src/include/alttabhandlerdefault.h

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2009-10-12 17:23:14 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091012172314-lewb04b7p8g76arg
Tags: 2.28.0-0ubuntu1
* New upstream release
  - queue frame resize on window undecorate (Neil)
  - fix description of desktop background (Luca)
  - wrap g_error calls in braces (Matt)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
2
 
 
3
 
/* Metacity Alt-Tab abstraction: default implementation */
4
 
 
5
 
/* 
6
 
 * Copyright (C) 2009 Red Hat, Inc.
7
 
 * 
8
 
 * This program is free software; you can redistribute it and/or
9
 
 * modify it under the terms of the GNU General Public License as
10
 
 * published by the Free Software Foundation; either version 2 of the
11
 
 * License, or (at your option) any later version.
12
 
 *
13
 
 * This program is distributed in the hope that it will be useful, but
14
 
 * WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16
 
 * General Public License for more details.
17
 
 * 
18
 
 * You should have received a copy of the GNU General Public License
19
 
 * along with this program; if not, write to the Free Software
20
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21
 
 * 02111-1307, USA.
22
 
 */
23
 
 
24
 
#ifndef META_ALT_TAB_HANDLER_DEFAULT_H
25
 
#define META_ALT_TAB_HANDLER_DEFAULT_H
26
 
 
27
 
#include "alttabhandler.h"
28
 
#include "tabpopup.h"
29
 
 
30
 
#define META_TYPE_ALT_TAB_HANDLER_DEFAULT (meta_alt_tab_handler_default_get_type ())
31
 
#define META_ALT_TAB_HANDLER_DEFAULT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), META_TYPE_ALT_TAB_HANDLER_DEFAULT, MetaAltTabHandlerDefault))
32
 
 
33
 
typedef struct _MetaAltTabHandlerDefault      MetaAltTabHandlerDefault;
34
 
typedef struct _MetaAltTabHandlerDefaultClass MetaAltTabHandlerDefaultClass;
35
 
 
36
 
struct _MetaAltTabHandlerDefault {
37
 
  GObject parent_instance;
38
 
 
39
 
  MetaScreen *screen;
40
 
 
41
 
  GArray *entries;
42
 
  gboolean immediate_mode;
43
 
 
44
 
  MetaTabPopup *tab_popup;
45
 
};
46
 
 
47
 
struct _MetaAltTabHandlerDefaultClass {
48
 
  GObjectClass parent_class;
49
 
 
50
 
};
51
 
 
52
 
GType              meta_alt_tab_handler_default_get_type (void);
53
 
 
54
 
#endif
55