/* Copyright (C) 2004-2006 Bart 'plors' Hakvoort
* Copyright (C) 2008 Curtis Gedak
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see .
*/
#ifndef GPARTED_DIALOGFEATURES_H
#define GPARTED_DIALOGFEATURES_H
#include "FileSystem.h"
#include
#include
#include
#include
#include
#include
#include
#include
namespace GParted
{
class DialogFeatures : public Gtk::Dialog
{
public:
DialogFeatures();
~DialogFeatures();
void load_filesystems(const std::vector& fss);
private:
void load_one_filesystem(const FS& fs);
Gtk::Frame legend_frame;
Gtk::TreeView treeview_filesystems;
Gtk::TreeRow treerow;
Gtk::ScrolledWindow filesystems_scrolled ;
Glib::RefPtr liststore_filesystems;
struct treeview_filesystems_Columns : public Gtk::TreeModelColumnRecord
{
Gtk::TreeModelColumn fsname;
Gtk::TreeModelColumn> create;
Gtk::TreeModelColumn> grow;
Gtk::TreeModelColumn> online_grow;
Gtk::TreeModelColumn> shrink;
Gtk::TreeModelColumn> online_shrink;
Gtk::TreeModelColumn> move;
Gtk::TreeModelColumn> copy;
Gtk::TreeModelColumn> check;
Gtk::TreeModelColumn> label;
Gtk::TreeModelColumn> online_label;
Gtk::TreeModelColumn> uuid;
Gtk::TreeModelColumn software;
treeview_filesystems_Columns()
{
add(fsname);
add(create);
add(grow);
add(online_grow);
add(shrink);
add(online_shrink);
add(move);
add(copy);
add(check);
add(label);
add(online_label);
add(uuid);
add(software);
}
};
treeview_filesystems_Columns treeview_filesystems_columns;
Glib::RefPtr icon_yes, icon_no, icon_blank;
};
} //GParted
#endif /* GPARTED_DIALOGFEATURES_H */