~3v1n0/unity/light-shortcuts

« back to all changes in this revision

Viewing changes to tests/bamf-mock-window.h

  • Committer: Marco Trevisan (Treviño)
  • Date: 2013-04-26 12:41:09 UTC
  • Revision ID: mail@3v1n0.net-20130426124109-t3b2shjah2omiqa2
Unity: Remove all the views, but the Shortcuts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// -*- Mode: C++; indent-tabs-mode: nil; tab-width: 2 -*-
2
 
/*
3
 
 * Copyright 2012 Canonical Ltd.
4
 
 *
5
 
 * This program is free software: you can redistribute it and/or modify it
6
 
 * under the terms of the GNU Lesser General Public License version 3, as
7
 
 * published by the  Free Software Foundation.
8
 
 *
9
 
 * This program is distributed in the hope that it will be useful, but
10
 
 * WITHOUT ANY WARRANTY; without even the implied warranties of
11
 
 * MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
12
 
 * PURPOSE.  See the applicable version of the GNU Lesser General Public
13
 
 * License for more details.
14
 
 *
15
 
 * You should have received a copy of both the GNU Lesser General Public
16
 
 * License version 3 along with this program.  If not, see
17
 
 * <http://www.gnu.org/licenses/>
18
 
 *
19
 
 * Authored by: Andrea Azzarone <andrea.azzarone@canonical.com>
20
 
 *
21
 
 */
22
 
 
23
 
#ifndef MOCK_BAMF_MOCK_WINDOW
24
 
#define MOCK_BAMF_MOCK_WINDOW
25
 
 
26
 
#include <time.h>
27
 
#include <glib-object.h>
28
 
#include <libbamf/libbamf.h>
29
 
 
30
 
G_BEGIN_DECLS
31
 
 
32
 
#define BAMF_TYPE_MOCK_WINDOW (bamf_mock_window_get_type ())
33
 
 
34
 
#define BAMF_MOCK_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),\
35
 
        BAMF_TYPE_MOCK_WINDOW, BamfMockWindow))
36
 
 
37
 
#define BAMF_MOCK_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),\
38
 
        BAMF_TYPE_MOCK_WINDOW, BamfMockWindowClass))
39
 
 
40
 
#define BAMF_IS_MOCK_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),\
41
 
        BAMF_TYPE_MOCK_WINDOW))
42
 
 
43
 
#define BAMF_IS_MOCK_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),\
44
 
        BAMF_TYPE_MOCK_WINDOW))
45
 
 
46
 
#define BAMF_MOCK_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),\
47
 
        BAMF_TYPE_MOCK_WINDOW, BamfMockWindowClass))
48
 
 
49
 
typedef struct _BamfMockWindow        BamfMockWindow;
50
 
typedef struct _BamfMockWindowClass   BamfMockWindowClass;
51
 
typedef struct _BamfMockWindowPrivate BamfMockWindowPrivate;
52
 
 
53
 
struct _BamfMockWindow
54
 
{
55
 
  BamfWindow parent;
56
 
 
57
 
  BamfMockWindowPrivate *priv;
58
 
};
59
 
 
60
 
struct _BamfMockWindowClass
61
 
{
62
 
  BamfWindowClass parent_class;
63
 
};
64
 
 
65
 
GType bamf_mock_window_get_type (void) G_GNUC_CONST;
66
 
 
67
 
BamfMockWindow * bamf_mock_window_new ();
68
 
 
69
 
void    bamf_mock_window_set_transient      (BamfMockWindow *self, BamfWindow* transient);
70
 
void    bamf_mock_window_set_window_type    (BamfMockWindow *self, BamfWindowType window_type);
71
 
void    bamf_mock_window_set_xid            (BamfMockWindow *self, guint32 xid);
72
 
void    bamf_mock_window_set_pid            (BamfMockWindow *self, guint32 pid);
73
 
void    bamf_mock_window_set_monitor        (BamfMockWindow *self, gint monitor);
74
 
void    bamf_mock_window_set_utf8_prop      (BamfMockWindow *self, const char* prop, const char* value);
75
 
void    bamf_mock_window_set_maximized      (BamfMockWindow *self, BamfWindowMaximizationType maximized);
76
 
void    bamf_mock_window_set_last_active    (BamfMockWindow *self, time_t last_active);
77
 
 
78
 
G_END_DECLS
79
 
 
80
 
#endif