~bregma/ubuntu-app-launch/app-object

« back to all changes in this revision

Viewing changes to libubuntu-app-launch/application-impl-legacy.cpp

  • Committer: Ted Gould
  • Date: 2016-02-10 15:27:10 UTC
  • Revision ID: ted@gould.cx-20160210152710-5nkg4rcoeqecvlcf
Move prototype

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
namespace app_impls
28
28
{
29
29
 
 
30
std::shared_ptr<GKeyFile> keyfileForApp(const AppID::AppName& name);
 
31
 
30
32
void clear_keyfile(GKeyFile* keyfile)
31
33
{
32
34
    if (keyfile != nullptr)
51
53
{
52
54
}
53
55
 
54
 
std::shared_ptr<GKeyFile> Legacy::keyfileForApp(const AppID::AppName& name)
 
56
std::shared_ptr<GKeyFile> keyfileForApp(const AppID::AppName& name)
55
57
{
56
58
    std::string desktopName = name.value() + ".desktop";
57
59
    auto keyfilecheck = [desktopName](const gchar* dir) -> std::shared_ptr<GKeyFile>