~alexlauni/unity/fix-stefanos-conflicts

« back to all changes in this revision

Viewing changes to src/TrashLauncherIcon.h

  • Committer: Alex Launi
  • Date: 2011-05-05 16:16:55 UTC
  • mfrom: (822.2.3 unity)
  • Revision ID: alex.launi@canonical.com-20110505161655-0y7rwnmltxk7a4bx
fix conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#define TRASHLAUNCHERICON_H
22
22
 
23
23
#include "SimpleLauncherIcon.h"
 
24
#include <libbamf/libbamf.h>
24
25
 
25
26
class TrashLauncherIcon : public SimpleLauncherIcon
26
27
{
27
28
 
28
29
public:
29
 
  TrashLauncherIcon  (Launcher *launcher);
 
30
  TrashLauncherIcon  (Launcher *launcher, BamfMatcher *matcher);
30
31
  ~TrashLauncherIcon ();
31
32
  
32
33
  virtual nux::Color BackgroundColor ();
44
45
  GFileMonitor *m_TrashMonitor;
45
46
  gboolean _empty;
46
47
  GtkWidget   *_confirm_dialog;
 
48
  BamfMatcher *m_matcher;
 
49
  BamfView    *m_view;
47
50
 
48
51
  void ActivateLauncherIcon ();
49
52
  std::list<DbusmenuMenuitem *> GetMenus ();
55
58
  static void OnConfirmDialogClose (GtkDialog *dialog, gint response, gpointer user_data);
56
59
  static void EmptyTrashAction ();
57
60
  static void RecursiveDelete (GFile *location);
58
 
 
 
61
  
 
62
  static void OnViewOpened (BamfMatcher *matcher, BamfView *view, gpointer data);
 
63
  static void OnViewClosed (BamfView *view, gpointer data);
59
64
};
60
65
 
61
66
#endif // TRASHLAUNCHERICON_H