1 /*GRB*
2
3 Gerbera - https://gerbera.io/
4
5 context.cc - this file is part of Gerbera.
6
7 Copyright (C) 2021 Gerbera Contributors
8
9 Gerbera is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License version 2
11 as published by the Free Software Foundation.
12
13 Gerbera is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with Gerbera. If not, see <http://www.gnu.org/licenses/>.
20
21 $Id$
22 */
23
24 /// \file context.cc
25
26 #include "context.h" // API
27
Context(std::shared_ptr<Config> config,std::shared_ptr<Clients> clients,std::shared_ptr<Mime> mime,std::shared_ptr<Database> database,std::shared_ptr<Server> server,std::shared_ptr<Web::SessionManager> session_manager)28 Context::Context(std::shared_ptr<Config> config,
29 std::shared_ptr<Clients> clients,
30 std::shared_ptr<Mime> mime,
31 std::shared_ptr<Database> database,
32 std::shared_ptr<Server> server,
33 std::shared_ptr<Web::SessionManager> session_manager)
34 : config(std::move(config))
35 , clients(std::move(clients))
36 , mime(std::move(mime))
37 , database(std::move(database))
38 , server(std::move(server))
39 , session_manager(std::move(session_manager))
40 {
41 }
42