1
1
// -*- Mode: C++; indent-tabs-mode: nil; tab-width: 2 -*-
3
* Copyright (C) 2010 Canonical Ltd
3
* Copyright (C) 2012 Canonical Ltd
5
5
* This program is free software: you can redistribute it and/or modify
6
6
* it under the terms of the GNU General Public License version 3 as
15
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
17
* Authored by: Bilal Akhtar <bilalakhtar@ubuntu.com>
18
* Marco Trevisan (Treviño) <3v1n0@ubuntu.com>
20
#ifndef SOFTWARECENTERLAUNCHERICON_H
21
#define SOFTWARECENTERLAUNCHERICON_H
21
#ifndef SOFTWARE_CENTER_LAUNCHERICON_H
22
#define SOFTWARE_CENTER_LAUNCHERICON_H
23
24
#include "BamfLauncherIcon.h"
24
#include <Nux/BaseWindow.h>
25
#include <NuxCore/Math/MathInc.h>
26
#include <core/core.h>
29
#include <glib/gvariant.h>
30
25
#include <UnityCore/GLibDBusProxy.h>
39
32
class SoftwareCenterLauncherIcon : public BamfLauncherIcon
43
SoftwareCenterLauncherIcon(Launcher* IconManager, BamfApplication* app, char* aptdaemon_trans_id, char* icon_path);
44
virtual ~SoftwareCenterLauncherIcon();
46
gchar* original_tooltip_text;
35
SoftwareCenterLauncherIcon(BamfApplication* app,
36
std::string const& aptdaemon_trans_id,
37
std::string const& icon_path);
49
char* _aptdaemon_trans_id;
50
unity::glib::DBusProxy* _aptdaemon_trans;
52
void OnFinished(GVariant* params);
54
void OnPropertyChanged(GVariant* params);
40
void OnPropertyChanged(GVariant* params);
42
glib::DBusProxy _aptdaemon_trans;
48
#endif //SOFTWARE_CENTER_LAUNCHERICON_H