~brandontschaefer/unity/detail-better-selection

« back to all changes in this revision

Viewing changes to launcher/ApplicationLauncherIcon.h

  • Committer: Nick Dedekind
  • Date: 2012-10-10 15:10:08 UTC
  • mfrom: (2823 trunk)
  • mto: This revision was merged to the branch mainline in revision 2831.
  • Revision ID: nicholas.dedekind@gmail.com-20121010151008-71dyze5sxtq0ll1s
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
class Launcher;
38
38
 
39
 
class BamfLauncherIcon : public SimpleLauncherIcon
 
39
class ApplicationLauncherIcon : public SimpleLauncherIcon
40
40
{
41
 
  NUX_DECLARE_OBJECT_TYPE(BamfLauncherIcon, SimpleLauncherIcon);
 
41
  NUX_DECLARE_OBJECT_TYPE(ApplicationLauncherIcon, SimpleLauncherIcon);
42
42
public:
43
 
  BamfLauncherIcon(BamfApplication* app);
44
 
  virtual ~BamfLauncherIcon();
 
43
  ApplicationLauncherIcon(BamfApplication* app);
 
44
  virtual ~ApplicationLauncherIcon();
45
45
 
46
46
  virtual void ActivateLauncherIcon(ActionArg arg);
47
47
 
106
106
  void UpdateDesktopFile();
107
107
  void UpdateMenus();
108
108
  void UpdateDesktopQuickList();
109
 
  void FillSupportedTypes();
110
109
 
111
110
  void OpenInstanceWithUris(std::set<std::string> uris);
112
111
  void Focus(ActionArg arg);
119
118
  bool OwnsWindow(Window w) const;
120
119
 
121
120
  std::vector<Window> GetWindows(WindowFilterMask filter = 0, int monitor = -1);
122
 
  const std::set<std::string>& GetSupportedTypes();
 
121
  const std::set<std::string> GetSupportedTypes();
123
122
  std::string GetDesktopID();
124
123
 
125
124
  glib::Object<BamfApplication> _bamf_app;
126
 
  bool _supported_types_filled;
127
125
 
128
126
  std::string _remote_uri;
129
127
  std::string _desktop_file;
130
 
  std::set<std::string> _supported_types;
131
128
  std::map<std::string, glib::Object<DbusmenuClient>> _menu_clients;
132
129
  std::map<std::string, glib::Object<DbusmenuMenuitem>> _menu_items;
133
130
  std::map<std::string, glib::Object<DbusmenuMenuitem>> _menu_items_extra;