Hotplug partition manager
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

47 lines
1.3 KiB

  1. /*
  2. * blk_model.h
  3. * Copyright (C) 2021 Aitor Cuadrado Zubizarreta <aitor_czr@gnuinos.org>
  4. *
  5. * This program is free software: you can redistribute it and/or modify it
  6. * under the terms of the GNU General Public License as published by the
  7. * Free Software Foundation, either version 3 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. * See the GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License along
  16. * with this program. If not, see <http://www.gnu.org/licenses/>.
  17. *
  18. * See the LICENSE file. *
  19. */
  20. #ifndef __BLK_MODEL_H__
  21. #define __BLK_MODEL_H__
  22. #include <gtkmm.h>
  23. namespace Hopman {
  24. using namespace std;
  25. class BlkModel : public Gtk::TreeModel::ColumnRecord
  26. {
  27. public:
  28. BlkModel();
  29. virtual ~BlkModel();
  30. Gtk::TreeModelColumn<string> device;
  31. Gtk::TreeModelColumn<string> fstype;
  32. Gtk::TreeModelColumn<string> size;
  33. Gtk::TreeModelColumn<Glib::RefPtr<Gdk::Pixbuf>> icon;
  34. Gtk::TreeModelColumn<string> vendor;
  35. };
  36. } // namespace Hopman
  37. #endif // __BLK_MODEL_H__