Merge pull request #1477 from xhaggi/pvr
[vuplus_xbmc] / xbmc / SystemGlobals.cpp
1 /*
2  *      Copyright (C) 2005-2012 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   CGUISettings       g_guiSettings;
59   CSettings          g_settings;
60
61   CXBMCRenderManager g_renderManager;
62   CLangInfo          g_langInfo;
63   CLangCodeExpander  g_LangCodeExpander;
64   CLocalizeStrings   g_localizeStrings;
65   CLocalizeStrings   g_localizeStringsTemp;
66
67   CGUIWindowManager  g_windowManager;
68   XFILE::CDirectoryCache g_directoryCache;
69
70   CGUITextureManager g_TextureManager;
71   CGUILargeTextureManager g_largeTextureManager;
72   CMouseStat         g_Mouse;
73 #if defined(HAS_SDL_JOYSTICK) 
74   CJoystick          g_Joystick; 
75 #endif
76   CGUIPassword       g_passwordManager;
77   CGUIInfoManager    g_infoManager;
78
79   XCURL::DllLibCurlGlobal g_curlInterface;
80   CDownloadQueueManager g_DownloadManager;
81   CPartyModeManager     g_partyModeManager;
82
83 #ifdef HAS_PYTHON
84   XBPython           g_pythonParser;
85 #endif
86   CAlarmClock        g_alarmClock;
87   PLAYLIST::CPlayListPlayer g_playlistPlayer;
88   CApplication       g_application;
89
90 #ifdef TARGET_RASPBERRY_PI
91   CRBP               g_RBP;
92 #endif
93
94 #ifdef HAS_FILESYSTEM_RAR
95   CRarManager g_RarManager;
96 #endif
97   CZipManager g_ZipManager;
98