libyui-gtk-pkg  2.43.2
 All Classes
ygtkpkgundolist.h
1 /********************************************************************
2  * YaST2-GTK - http://en.opensuse.org/YaST2-GTK *
3  ********************************************************************/
4 
5 /* A Ypp::List that stores only
6 */
7 
8 #ifndef YGTK_PKG_UNDO_LIST_H
9 #define YGTK_PKG_UNDO_LIST_H
10 
11 #include "yzyppwrapper.h"
12 
14 {
16  ~YGtkPkgUndoList();
17 
18  Ypp::Selectable *front (int *autoCount);
19  Ypp::List getList();
20 
21  struct Listener {
22  virtual void undoChanged (YGtkPkgUndoList *list) = 0;
23  };
24 
25  void addListener (Listener *listener);
26  void removeListener (Listener *listener);
27 
28  bool popupDialog (bool onApply);
29 
30  struct Impl;
31  Impl *impl;
32 };
33 
34 #endif
35