~brandontschaefer/unity/bump-to-new-nux-abi

2791.9.45 by Tim Penhey
Trying to separate it out.
1
// -*- Mode: C++; indent-tabs-mode: nil; tab-width: 2 -*-
2
/*
3
 * Copyright (C) 2012 Canonical Ltd
4
 *
5
 * This program is free software: you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License version 3 as
7
 * published by the Free Software Foundation.
8
 *
9
 * This program is distributed in the hope that it will be useful,
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 * GNU General Public License for more details.
13
 *
14
 * You should have received a copy of the GNU General Public License
15
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
 *
17
 * Authored by: Tim Penhey <tim.penhey@canonical.com>
18
 */
19
20
#include "unity-shared/BamfApplicationManager.h"
21
22
namespace unity
23
{
24
// This function is used by the static Default method on the ApplicationManager
25
// class, and uses link time to make sure there is a function available.
26
std::shared_ptr<ApplicationManager> create_application_manager()
27
{
28
    return std::shared_ptr<ApplicationManager>(new bamf::Manager());
29
}
30
31
}