Merge pull request #4775 from jmarshallnz/empty_episode_playcount
[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 "utils/AlarmClock.h"
27 #include "GUIInfoManager.h"
28 #include "filesystem/DllLibCurl.h"
29 #include "filesystem/DirectoryCache.h"
30 #include "GUIPassword.h"
31 #include "LangInfo.h"
32 #include "utils/LangCodeExpander.h"
33 #include "PartyModeManager.h"
34 #include "PlayListPlayer.h"
35 #include "guilib/LocalizeStrings.h"
36 #include "guilib/GUIWindowManager.h"
37 #ifdef HAS_PYTHON
38 #include "interfaces/python/XBPython.h"
39 #endif
40 #if defined(TARGET_WINDOWS)
41 #include "input/windows/WINJoystick.h"
42 #elif defined(HAS_SDL_JOYSTICK) 
43 #include "input/SDLJoystick.h"
44 #endif
45
46 #if defined(HAS_FILESYSTEM_RAR)
47 #include "filesystem/RarManager.h"
48 #endif
49 #include "filesystem/ZipManager.h"
50
51 #ifdef TARGET_RASPBERRY_PI
52 #include "linux/RBP.h"
53 #endif
54
55   CXBMCRenderManager g_renderManager;
56   CLangInfo          g_langInfo;
57   CLangCodeExpander  g_LangCodeExpander;
58   CLocalizeStrings   g_localizeStrings;
59   CLocalizeStrings   g_localizeStringsTemp;
60
61   XFILE::CDirectoryCache g_directoryCache;
62
63   CGUITextureManager g_TextureManager;
64   CGUILargeTextureManager g_largeTextureManager;
65   CMouseStat         g_Mouse;
66 #if defined(HAS_SDL_JOYSTICK) 
67   CJoystick          g_Joystick; 
68 #endif
69   CGUIPassword       g_passwordManager;
70   CGUIInfoManager    g_infoManager;
71
72   XCURL::DllLibCurlGlobal g_curlInterface;
73   CPartyModeManager     g_partyModeManager;
74
75 #ifdef HAS_PYTHON
76   XBPython           g_pythonParser;
77 #endif
78   CAlarmClock        g_alarmClock;
79   PLAYLIST::CPlayListPlayer g_playlistPlayer;
80
81 #ifdef TARGET_RASPBERRY_PI
82   CRBP               g_RBP;
83 #endif
84
85 #ifdef HAS_FILESYSTEM_RAR
86   CRarManager g_RarManager;
87 #endif
88   CZipManager g_ZipManager;
89