269.9.6
by Ted Gould
Adding a ZG class for info watching |
1 |
/*
|
2 |
* Copyright © 2017 Canonical Ltd.
|
|
3 |
*
|
|
4 |
* This program is free software: you can redistribute it and/or modify it
|
|
5 |
* under the terms of the GNU General Public License version 3, as published
|
|
6 |
* by the Free Software Foundation.
|
|
7 |
*
|
|
8 |
* This program is distributed in the hope that it will be useful, but
|
|
9 |
* WITHOUT ANY WARRANTY; without even the implied warranties of
|
|
10 |
* MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
|
|
11 |
* PURPOSE. See the GNU General Public License for more details.
|
|
12 |
*
|
|
13 |
* You should have received a copy of the GNU General Public License along
|
|
14 |
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
15 |
*
|
|
16 |
* Authors:
|
|
17 |
* Ted Gould <ted.gould@canonical.com>
|
|
18 |
*/
|
|
19 |
||
20 |
#pragma once
|
|
21 |
||
22 |
#include "application.h" |
|
23 |
#include "info-watcher.h" |
|
24 |
#include "registry.h" |
|
25 |
||
26 |
#include <core/signal.h> |
|
27 |
#include <set> |
|
28 |
||
29 |
namespace ubuntu |
|
30 |
{
|
|
31 |
namespace app_launch |
|
32 |
{
|
|
33 |
namespace info_watcher |
|
34 |
{
|
|
35 |
||
269.9.16
by Ted Gould
s/Zietgeist/Zeitgeist/ |
36 |
class Zeitgeist : public Base |
269.9.6
by Ted Gould
Adding a ZG class for info watching |
37 |
{
|
38 |
public: |
|
269.9.16
by Ted Gould
s/Zietgeist/Zeitgeist/ |
39 |
Zeitgeist(const std::shared_ptr<Registry>& registry); |
40 |
virtual ~Zeitgeist() = default; |
|
269.9.8
by Ted Gould
Threading through zgWatcher into the desktop info |
41 |
|
269.9.12
by Ted Gould
Some debug messages and make a function virtual |
42 |
virtual Application::Info::Popularity lookupAppPopularity(const AppID& appid); |
269.9.6
by Ted Gould
Adding a ZG class for info watching |
43 |
};
|
44 |
||
45 |
} // namespace info_watcher |
|
46 |
} // namespace app_launch |
|
47 |
} // namespace ubuntu |