Merge pull request #2176 from ronie/python-sortmethod
[vuplus_xbmc] / xbmc / SystemGlobals.cpp
1 /*
2  *      Copyright (C) 2005-2013 Team XBMC
3  *      http://xbmc.org
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 as published by
7  *  the Free Software Foundation; either version 2, or (at your option)
8  *  any later version.
9  *
10  *  This Program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with XBMC; see the file COPYING.  If not, see
17  *  <http://www.gnu.org/licenses/>.
18  *
19  */
20 #include "system.h"
21 #include "cores/VideoRenderers/RenderManager.h"
22 #include "input/MouseStat.h"
23 #include "Application.h"
24 #include "GUILargeTextureManager.h"
25 #include "guilib/TextureManager.h"
26 #include "settings/GUISettings.h"
27 #include "settings/Settings.h"
28 #include "utils/AlarmClock.h"
29 #include "utils/DownloadQueueManager.h"
30 #include "GUIInfoManager.h"
31 #include "filesystem/DllLibCurl.h"
32 #include "filesystem/DirectoryCache.h"
33 #include "GUIPassword.h"
34 #include "LangInfo.h"
35 #include "utils/LangCodeExpander.h"
36 #include "PartyModeManager.h"
37 #include "PlayListPlayer.h"
38 #include "guilib/LocalizeStrings.h"
39 #include "guilib/GUIWindowManager.h"
40 #ifdef HAS_PYTHON
41 #include "interfaces/python/XBPython.h"
42 #endif
43 #if defined(TARGET_WINDOWS)
44 #include "input/windows/WINJoystick.h"
45 #elif defined(HAS_SDL_JOYSTICK) 
46 #include "input/SDLJoystick.h"
47 #endif
48
49 #if defined(HAS_FILESYSTEM_RAR)
50 #include "filesystem/RarManager.h"
51 #endif
52 #include "filesystem/ZipManager.h"
53
54 #ifdef TARGET_RASPBERRY_PI
55 #include "linux/RBP.h"
56 #endif
57
58   CSettings          g_settings;
59
60   CXBMCRenderManager g_renderManager;
61   CLangInfo          g_langInfo;
62   CLangCodeExpander  g_LangCodeExpander;
63   CLocalizeStrings   g_localizeStrings;
64   CLocalizeStrings   g_localizeStringsTemp;
65
66   XFILE::CDirectoryCache g_directoryCache;
67
68   CGUITextureManager g_TextureManager;
69   CGUILargeTextureManager g_largeTextureManager;
70   CMouseStat         g_Mouse;
71 #if defined(HAS_SDL_JOYSTICK) 
72   CJoystick          g_Joystick; 
73 #endif
74   CGUIPassword       g_passwordManager;
75   CGUIInfoManager    g_infoManager;
76
77   XCURL::DllLibCurlGlobal g_curlInterface;
78   CDownloadQueueManager g_DownloadManager;
79   CPartyModeManager     g_partyModeManager;
80
81 #ifdef HAS_PYTHON
82   XBPython           g_pythonParser;
83 #endif
84   CAlarmClock        g_alarmClock;
85   PLAYLIST::CPlayListPlayer g_playlistPlayer;
86
87 #ifdef TARGET_RASPBERRY_PI
88   CRBP               g_RBP;
89 #endif
90
91 #ifdef HAS_FILESYSTEM_RAR
92   CRarManager g_RarManager;
93 #endif
94   CZipManager g_ZipManager;
95