1
// -*- Mode: C++; indent-tabs-mode: nil; tab-width: 2 -*-
3
* Copyright 2012 Canonical Ltd.
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.
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.
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/>
19
* Authored by: Andrea Azzarone <andrea.azzarone@canonical.com>
23
#ifndef UNITYSHELL_G_MOCK_MOUNT_H
24
#define UNITYSHELL_G_MOCK_MOUNT_H
30
#define ROOT_FILE_PATH "/some/directory/testfile"
31
#define ROOT_FILE_URI "file://" ROOT_FILE_PATH
33
#define G_TYPE_MOCK_MOUNT (g_mock_mount_get_type ())
34
#define G_MOCK_MOUNT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_MOCK_MOUNT, GMockMount))
35
#define G_MOCK_MOUNT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_MOCK_MOUNT, GMockMountClass))
36
#define G_IS_MOCK_MOUNT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_MOCK_MOUNT))
37
#define G_IS_MOCK_MOUNT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_MOCK_MOUNT))
39
typedef struct _GMockMount GMockMount;
40
typedef struct _GMockMountClass GMockMountClass;
46
struct _GMockMountClass {
47
GObjectClass parent_class;
50
GType g_mock_mount_get_type (void) G_GNUC_CONST;
51
GMockMount * g_mock_mount_new ();
55
#endif // UNITYSHELL_G_MOCK_MOUNT_H