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

« back to all changes in this revision

Viewing changes to launcher/SingleMonitorLauncherIcon.h

Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
class SingleMonitorLauncherIcon : public SimpleLauncherIcon
31
31
{
32
 
 
33
32
public:
34
 
  SingleMonitorLauncherIcon(IconType type, unsigned monitor);
 
33
  SingleMonitorLauncherIcon(IconType type, int monitor = -1);
35
34
 
36
 
void SetMonitor(unsigned monitor);
37
 
unsigned GetMonitor() const;
 
35
void SetMonitor(int monitor);
 
36
int GetMonitor() const;
38
37
 
39
38
protected:
40
39
  std::string GetName() const;
43
42
private:
44
43
  void UpdateMonitor();
45
44
 
46
 
  unsigned monitor_;
 
45
  int monitor_;
47
46
};
48
47
 
49
48
}