PageRenderTime 21ms CodeModel.GetById 12ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/xbmc/SystemGlobals.cpp

http://github.com/xbmc/xbmc
C++ | 49 lines | 31 code | 10 blank | 8 comment | 0 complexity | c32481d8d3559cb9a89821171c5742cb MD5 | raw file
 1/*
 2 *  Copyright (C) 2005-2018 Team Kodi
 3 *  This file is part of Kodi - https://kodi.tv
 4 *
 5 *  SPDX-License-Identifier: GPL-2.0-or-later
 6 *  See LICENSES/README.md for more information.
 7 */
 8#include "SectionLoader.h"
 9#include "utils/AlarmClock.h"
10#include "GUIInfoManager.h"
11#include "filesystem/DllLibCurl.h"
12#include "filesystem/DirectoryCache.h"
13#include "GUIPassword.h"
14#include "utils/LangCodeExpander.h"
15#include "PartyModeManager.h"
16#include "guilib/LocalizeStrings.h"
17#ifdef HAS_PYTHON
18#include "interfaces/python/XBPython.h"
19#endif
20
21// Guarantee that CSpecialProtocol is initialized before and uninitialized after ZipManager
22#include "filesystem/SpecialProtocol.h"
23std::map<std::string, std::string> CSpecialProtocol::m_pathMap;
24
25#include "filesystem/ZipManager.h"
26
27#ifdef TARGET_RASPBERRY_PI
28#include "platform/linux/RBP.h"
29#endif
30
31  CLangCodeExpander  g_LangCodeExpander;
32  CLocalizeStrings   g_localizeStrings;
33  CLocalizeStrings   g_localizeStringsTemp;
34
35  XFILE::CDirectoryCache g_directoryCache;
36
37  CGUIPassword       g_passwordManager;
38
39  XCURL::DllLibCurlGlobal g_curlInterface;
40  CPartyModeManager     g_partyModeManager;
41
42  CAlarmClock        g_alarmClock;
43  CSectionLoader     g_sectionLoader;
44
45#ifdef TARGET_RASPBERRY_PI
46  CRBP               g_RBP;
47#endif
48
49  CZipManager g_ZipManager;