~elementary-apps/pantheon-files/trunk

« back to all changes in this revision

Viewing changes to src/marlin-view-window.h

  • Committer: am.monkeyd at gmail
  • Date: 2010-11-08 13:17:02 UTC
  • Revision ID: am.monkeyd@gmail.com-20101108131702-rqeywh4r5pyx2ycz
let's roll

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
 
2
/*
 
3
 * Copyright (C) 2010 ammonkey
 
4
 *
 
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.
 
8
 *
 
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.
 
13
 *
 
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/>.
 
17
 *
 
18
 * Author: ammonkey <am.monkeyd@gmail.com>
 
19
 */
 
20
 
 
21
#ifndef MARLIN_VIEW_WINDOW_H
 
22
#define MARLIN_VIEW_WINDOW_H
 
23
 
 
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))
 
30
 
 
31
typedef struct _MarlinViewWindow MarlinViewWindow;
 
32
typedef struct _MarlinViewWindowClass MarlinViewWindowClass;
 
33
 
 
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;
 
37
 
 
38
#ifndef GOF_WINDOW_SLOT_DEFINED
 
39
#define GOF_WINDOW_SLOT_DEFINED
 
40
typedef struct GOFWindowSlot GOFWindowSlot;
 
41
#endif
 
42
 
 
43
typedef struct GOFWindowSlotClass GOFWindowSlotClass;
 
44
 
 
45
GOFWindowSlot* marlin_view_window_get_active_slot (MarlinViewWindow* self);
 
46
void marlin_view_window_set_active_slot (MarlinViewWindow* self, GOFWindowSlot* value);
 
47
 
 
48
#endif /* MARLIN_VIEW_WINDOW_H */