1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
2 
3 /*
4  *  nemo-window-types: typedefs for window-related types.
5  *
6  *  Copyright (C) 1999, 2000, 2010 Red Hat, Inc.
7  *  Copyright (C) 1999, 2000, 2001 Eazel, Inc.
8  *
9  *  Nemo is free software; you can redistribute it and/or
10  *  modify it under the terms of the GNU General Public License as
11  *  published by the Free Software Foundation; either version 2 of the
12  *  License, or (at your option) any later version.
13  *
14  *  Nemo is distributed in the hope that it will be useful,
15  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17  *  General Public License for more details.
18  *
19  *  You should have received a copy of the GNU General Public License
20  *  along with this program; if not, write to the Free Software
21  *  Foundation, Inc., 51 Franklin Street, Suite 500, MA 02110-1335, USA.
22  *
23  *  Authors: Elliot Lee <sopwith@redhat.com>
24  *           Darin Adler <darin@bentspoon.com>
25  *
26  */
27 
28 #ifndef __NEMO_WINDOW_TYPES_H__
29 #define __NEMO_WINDOW_TYPES_H__
30 
31 typedef struct _NemoWindowPane NemoWindowPane;
32 typedef struct _NemoWindowPaneClass NemoWindowPaneClass;
33 
34 typedef struct NemoWindow NemoWindow;
35 
36 typedef struct NemoWindowSlot NemoWindowSlot;
37 typedef struct NemoWindowSlotClass NemoWindowSlotClass;
38 
39 typedef void (* NemoWindowGoToCallback) (NemoWindow *window,
40                                              GError *error,
41                                              gpointer user_data);
42 
43 typedef enum {
44         NEMO_WINDOW_OPEN_FLAG_CLOSE_BEHIND = 1<<0,
45         NEMO_WINDOW_OPEN_FLAG_NEW_WINDOW = 1<<1,
46         NEMO_WINDOW_OPEN_FLAG_NEW_TAB = 1<<2,
47         NEMO_WINDOW_OPEN_FLAG_SEARCH = 1<<3,
48         NEMO_WINDOW_OPEN_FLAG_MOUNT = 1<<4
49 } NemoWindowOpenFlags;
50 
51 #endif /* __NEMO_WINDOW_TYPES_H__ */
52