| 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 <[email protected]> |
| 18 |
*/ |
| 19 |
|
| 20 |
#include "info-watcher-zg.h" |
| 21 |
|
| 22 |
#include <glib.h> |
| 23 |
|
| 24 |
namespace lomiri |
| 25 |
{ |
| 26 |
namespace app_launch |
| 27 |
{ |
| 28 |
namespace info_watcher |
| 29 |
{ |
| 30 |
|
| 31 |
Zeitgeist::Zeitgeist(const std::shared_ptr<Registry::Impl>& registry) |
| 32 |
: Base(registry) |
| 33 |
{ |
| 34 |
g_debug("Created a ZG Watcher"); |
| 35 |
} |
| 36 |
|
| 37 |
/** Gets the popularity for a given Application ID */ |
| 38 |
Application::Info::Popularity Zeitgeist::lookupAppPopularity(const AppID& appid) |
| 39 |
{ |
| 40 |
return Application::Info::Popularity::from_raw(0); |
| 41 |
} |
| 42 |
|
| 43 |
} // namespace info_watcher |
| 44 |
} // namespace app_launch |
| 45 |
} // namespace lomiri |