libyui-gtk-pkg  2.43.2
 All Classes
ygtkpkgpatternview.h
1 /********************************************************************
2  * YaST2-GTK - http://en.opensuse.org/YaST2-GTK *
3  ********************************************************************/
4 
5 /* Pattern and language list boxes.
6 */
7 
8 #ifndef YGTK_PKG_PATTERN_LIST_H
9 #define YGTK_PKG_PATTERN_LIST_H
10 
11 #include "ygtkpkgquerywidget.h"
12 #include <gtk/gtk.h>
13 
15 {
16  YGtkPkgPatternView (Ypp::Selectable::Type type);
17  virtual ~YGtkPkgPatternView();
18  virtual GtkWidget *getWidget();
19 
20  virtual bool begsUpdate() { return false; }
21  virtual void updateList (Ypp::List list) {}
22 
23  virtual void clearSelection();
24  virtual bool writeQuery (Ypp::PoolQuery &query);
25 
26  struct Impl;
27  Impl *impl;
28 };
29 
30 bool isPatternsPoolEmpty();
31 
32 #endif
33