1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
3
* Copyright (C) 2010 ammonkey
5
* This library is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU Lesser General Public License
7
* version 3.0 as published by the Free Software Foundation.
9
* This library 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 Lesser General Public License version 3.0 for more details.
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library. If not, see
16
* <http://www.gnu.org/licenses/>.
18
* Author: ammonkey <am.monkeyd@gmail.com>
21
#ifndef MARLIN_VIEW_WINDOW_H
22
#define MARLIN_VIEW_WINDOW_H
24
#define MARLIN_VIEW_TYPE_WINDOW (marlin_view_window_get_type ())
25
#define MARLIN_VIEW_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MARLIN_VIEW_TYPE_WINDOW, MarlinViewWindow))
26
#define MARLIN_VIEW_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MARLIN_VIEW_TYPE_WINDOW, MarlinViewWindowClass))
27
#define MARLIN_VIEW_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MARLIN_VIEW_TYPE_WINDOW))
28
#define MARLIN_VIEW_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MARLIN_VIEW_TYPE_WINDOW))
29
#define MARLIN_VIEW_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MARLIN_VIEW_TYPE_WINDOW, MarlinViewWindowClass))
31
typedef struct _MarlinViewWindow MarlinViewWindow;
32
typedef struct _MarlinViewWindowClass MarlinViewWindowClass;
34
MarlinViewWindow* marlin_view_window_new (const gchar* path);
35
MarlinViewWindow* marlin_view_window_construct (GType object_type, const gchar* path);
36
GType marlin_view_window_get_type (void) G_GNUC_CONST;
38
#ifndef GOF_WINDOW_SLOT_DEFINED
39
#define GOF_WINDOW_SLOT_DEFINED
40
typedef struct GOFWindowSlot GOFWindowSlot;
43
typedef struct GOFWindowSlotClass GOFWindowSlotClass;
45
GOFWindowSlot* marlin_view_window_get_active_slot (MarlinViewWindow* self);
46
void marlin_view_window_set_active_slot (MarlinViewWindow* self, GOFWindowSlot* value);
48
#endif /* MARLIN_VIEW_WINDOW_H */