/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
/* Copyright (C) 2009 David Zeuthen
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; either version 2 of
 * the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 * 02111-1307, USA.
 */

#if !defined (__GDU_GTK_INSIDE_GDU_GTK_H) && !defined (GDU_GTK_COMPILATION)
#error "Only <gdu-gtk/gdu-gtk.h> can be included directly, this file may disappear or change contents."
#endif

#ifndef __GDU_ADD_PV_LINUX_LVM2_DIALOG_H
#define __GDU_ADD_PV_LINUX_LVM2_DIALOG_H

#include <gdu-gtk/gdu-gtk-types.h>
#include <gdu-gtk/gdu-dialog.h>

G_BEGIN_DECLS

#define GDU_TYPE_ADD_PV_LINUX_LVM2_DIALOG            gdu_add_pv_linux_lvm2_dialog_get_type()
#define GDU_ADD_PV_LINUX_LVM2_DIALOG(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDU_TYPE_ADD_PV_LINUX_LVM2_DIALOG, GduAddPvLinuxLvm2Dialog))
#define GDU_ADD_PV_LINUX_LVM2_DIALOG_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GDU_TYPE_ADD_PV_LINUX_LVM2_DIALOG, GduAddPvLinuxLvm2DialogClass))
#define GDU_IS_ADD_PV_LINUX_LVM2_DIALOG(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDU_TYPE_ADD_PV_LINUX_LVM2_DIALOG))
#define GDU_IS_ADD_PV_LINUX_LVM2_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDU_TYPE_ADD_PV_LINUX_LVM2_DIALOG))
#define GDU_ADD_PV_LINUX_LVM2_DIALOG_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GDU_TYPE_ADD_PV_LINUX_LVM2_DIALOG, GduAddPvLinuxLvm2DialogClass))

typedef struct GduAddPvLinuxLvm2DialogClass   GduAddPvLinuxLvm2DialogClass;
typedef struct GduAddPvLinuxLvm2DialogPrivate GduAddPvLinuxLvm2DialogPrivate;

struct GduAddPvLinuxLvm2Dialog
{
        GduDialog parent;

        /*< private >*/
        GduAddPvLinuxLvm2DialogPrivate *priv;
};

struct GduAddPvLinuxLvm2DialogClass
{
        GduDialogClass parent_class;
};

GType         gdu_add_pv_linux_lvm2_dialog_get_type  (void) G_GNUC_CONST;
GtkWidget    *gdu_add_pv_linux_lvm2_dialog_new       (GtkWindow                    *parent,
                                                      GduLinuxLvm2VolumeGroup      *vg);
GduDrive     *gdu_add_pv_linux_lvm2_dialog_get_drive (GduAddPvLinuxLvm2Dialog      *dialog);
guint64       gdu_add_pv_linux_lvm2_dialog_get_size  (GduAddPvLinuxLvm2Dialog      *dialog);

G_END_DECLS

#endif /* __GDU_ADD_PV_LINUX_LVM2_DIALOG_H */
