~jamalta/unity/683241-recyclebin-icon

« back to all changes in this revision

Viewing changes to src/BamfLauncherIcon.h

  • Committer: Neil Jagdish Patel
  • Date: 2010-11-30 09:47:04 UTC
  • mfrom: (639.2.9 unity)
  • Revision ID: neil.patel@canonical.com-20101130094704-37w14mgbveizm5h4
[merge] Enable default quicklist items

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    
42
42
protected:
43
43
    void OnMouseClick (int button);
44
 
    std::list<DbusmenuClient *> GetMenus ();
 
44
    std::list<DbusmenuMenuitem *> GetMenus ();
45
45
    
46
46
    void UpdateIconGeometries (nux::Point3 center);
47
47
    void OnCenterStabilized (nux::Point3 center);
51
51
private:
52
52
    BamfApplication *m_App;
53
53
    CompScreen *m_Screen;
 
54
    std::map<std::string, DbusmenuClient *> _menu_clients;
 
55
    std::map<std::string, DbusmenuMenuitem *> _menu_items;
54
56
    
55
57
    void EnsureWindowState ();
 
58
    void UpdateMenus ();
56
59
    
57
60
    static void OnClosed (BamfView *view, gpointer data);
58
61
    static void OnUserVisibleChanged (BamfView *view, gboolean visible, gpointer data);
61
64
    static void OnUrgentChanged (BamfView *view, gboolean urgent, gpointer data);
62
65
    static void OnChildAdded (BamfView *view, BamfView *child, gpointer data);
63
66
    static void OnChildRemoved (BamfView *view, BamfView *child, gpointer data);
 
67
    
 
68
    static void OnQuit (DbusmenuMenuitem *item, int time, BamfLauncherIcon *self);
 
69
    static void OnTogglePin (DbusmenuMenuitem *item, int time, BamfLauncherIcon *self);
64
70
};
65
71
 
66
72
#endif // BAMFLAUNCHERICON_H