1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
4
* Copyright (C) Chris Coulson 2009 <chrisccoulson@googlemail.com>
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
#ifndef _GSD_LDSM_DIALOG_H_
22
#define _GSD_LDSM_DIALOG_H_
24
#include <glib-object.h>
29
#define GSD_TYPE_LDSM_DIALOG (gsd_ldsm_dialog_get_type ())
30
#define GSD_LDSM_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSD_TYPE_LDSM_DIALOG, GsdLdsmDialog))
31
#define GSD_LDSM_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GSD_TYPE_LDSM_DIALOG, GsdLdsmDialogClass))
32
#define GSD_IS_LDSM_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSD_TYPE_LDSM_DIALOG))
33
#define GSD_IS_LDSM_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GSD_TYPE_LDSM_DIALOG))
34
#define GSD_LDSM_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GSD_TYPE_LDSM_DIALOG, GsdLdsmDialogClass))
38
GSD_LDSM_DIALOG_RESPONSE_EMPTY_TRASH = -20,
39
GSD_LDSM_DIALOG_RESPONSE_ANALYZE = -21
42
typedef struct GsdLdsmDialogPrivate GsdLdsmDialogPrivate;
43
typedef struct _GsdLdsmDialogClass GsdLdsmDialogClass;
44
typedef struct _GsdLdsmDialog GsdLdsmDialog;
46
struct _GsdLdsmDialogClass
48
GtkDialogClass parent_class;
53
GtkDialog parent_instance;
54
GsdLdsmDialogPrivate *priv;
57
GType gsd_ldsm_dialog_get_type (void) G_GNUC_CONST;
59
GsdLdsmDialog * gsd_ldsm_dialog_new (gboolean other_usable_partitions,
60
gboolean other_partitions,
61
gboolean display_baobab,
62
gboolean display_empty_trash,
63
gint64 space_remaining,
64
const gchar *partition_name,
65
const gchar *mount_path);
69
#endif /* _GSD_LDSM_DIALOG_H_ */