2
* Copyright © 2017 Canonical Ltd.
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.
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.
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/>.
17
* Ted Gould <ted.gould@canonical.com>
22
#include "app-store-base.h"
31
class Libertine : public Base
38
virtual bool verifyPackage(const AppID::Package& package, const std::shared_ptr<Registry>& registry) override;
39
virtual bool verifyAppname(const AppID::Package& package,
40
const AppID::AppName& appname,
41
const std::shared_ptr<Registry>& registry) override;
42
virtual AppID::AppName findAppname(const AppID::Package& package,
43
AppID::ApplicationWildcard card,
44
const std::shared_ptr<Registry>& registry) override;
45
virtual AppID::Version findVersion(const AppID::Package& package,
46
const AppID::AppName& appname,
47
const std::shared_ptr<Registry>& registry) override;
48
virtual bool hasAppId(const AppID& appid, const std::shared_ptr<Registry>& registry) override;
51
virtual std::list<std::shared_ptr<Application>> list(const std::shared_ptr<Registry>& registry) override;
53
/* Application Creation */
54
virtual std::shared_ptr<app_impls::Base> create(const AppID& appid,
55
const std::shared_ptr<Registry>& registry) override;
58
} // namespace app_store
59
} // namespace app_launch