~jderose/ubuntu/utopic/unity-settings-daemon/tune-syndaemon

« back to all changes in this revision

Viewing changes to plugins/housekeeping/gsd-ldsm-dialog.h

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2014-02-07 11:44:36 UTC
  • Revision ID: package-import@ubuntu.com-20140207114436-7t5u3yvwc4ul7w3e
Tags: upstream-14.04.0
ImportĀ upstreamĀ versionĀ 14.04.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
 
2
 *
 
3
 * gsd-ldsm-dialog.c
 
4
 * Copyright (C) Chris Coulson 2009 <chrisccoulson@googlemail.com>
 
5
 *
 
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.
 
10
 *
 
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.
 
15
 *
 
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.
 
19
 */
 
20
 
 
21
#ifndef _GSD_LDSM_DIALOG_H_
 
22
#define _GSD_LDSM_DIALOG_H_
 
23
 
 
24
#include <glib-object.h>
 
25
#include <gtk/gtk.h>
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
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))
 
35
 
 
36
enum
 
37
{
 
38
        GSD_LDSM_DIALOG_RESPONSE_EMPTY_TRASH = -20,
 
39
        GSD_LDSM_DIALOG_RESPONSE_ANALYZE = -21
 
40
};
 
41
 
 
42
typedef struct GsdLdsmDialogPrivate GsdLdsmDialogPrivate;
 
43
typedef struct _GsdLdsmDialogClass GsdLdsmDialogClass;
 
44
typedef struct _GsdLdsmDialog GsdLdsmDialog;
 
45
 
 
46
struct _GsdLdsmDialogClass
 
47
{
 
48
        GtkDialogClass parent_class;
 
49
};
 
50
 
 
51
struct _GsdLdsmDialog
 
52
{
 
53
        GtkDialog parent_instance;
 
54
        GsdLdsmDialogPrivate *priv;
 
55
};
 
56
 
 
57
GType gsd_ldsm_dialog_get_type (void) G_GNUC_CONST;
 
58
 
 
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);
 
66
 
 
67
G_END_DECLS
 
68
 
 
69
#endif /* _GSD_LDSM_DIALOG_H_ */