~3v1n0/unity/scale-window-cast-protection

« back to all changes in this revision

Viewing changes to launcher/SoftwareCenterLauncherIcon.h

  • Committer: Marco Trevisan (Treviño)
  • Date: 2016-03-07 18:51:47 UTC
  • mfrom: (4080 unity)
  • mto: This revision was merged to the branch mainline in revision 4085.
  • Revision ID: mail@3v1n0.net-20160307185147-0p1m89up4tqfb6w1
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <string>
25
25
#include <UnityCore/GLibDBusProxy.h>
26
26
#include "ApplicationLauncherIcon.h"
27
 
#include "LauncherDragWindow.h"
28
27
 
29
28
namespace unity
30
29
{
39
38
  typedef nux::ObjectPtr<SoftwareCenterLauncherIcon> Ptr;
40
39
 
41
40
  SoftwareCenterLauncherIcon(ApplicationPtr const& app,
42
 
                             std::string const& aptdaemon_trans_id,
43
 
                             std::string const& icon_path);
44
 
 
45
 
  bool Animate(nux::ObjectPtr<Launcher> const& launcher, int start_x, int start_y);
 
41
                             std::string const& aptdaemon_trans_id);
46
42
 
47
43
protected:
48
44
  std::string GetName() const;
52
48
  std::string GetActualDesktopFileAfterInstall();
53
49
  void OnFinished(GVariant *params);
54
50
  void OnPropertyChanged(GVariant* params);
55
 
  void OnDragAnimationFinished(nux::ObjectPtr<Launcher> const&, std::string const&);
56
51
 
57
52
  glib::DBusProxy::Ptr aptdaemon_trans_;
58
 
  LauncherDragWindow::Ptr drag_window_;
59
53
  bool finished_;
60
54
  bool needs_urgent_;
61
55
  std::string aptdaemon_trans_id_;