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