Merge pull request #1129 from jmarshallnz/remove_smb_auth_details_in_add_source
[vuplus_xbmc] / xbmc / SystemGlobals.cpp
1 /*
2  *      Copyright (C) 2005-2010 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, write to
17  *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
18  *  http://www.gnu.org/copyleft/gpl.html
19  *
20  */
21 #include "system.h"
22 #include "cores/VideoRenderers/RenderManager.h"
23 #include "input/MouseStat.h"
24 #include "Application.h"
25 #include "GUILargeTextureManager.h"
26 #include "guilib/TextureManager.h"
27 #include "settings/GUISettings.h"
28 #include "settings/Settings.h"
29 #include "utils/AlarmClock.h"
30 #include "utils/DownloadQueueManager.h"
31 #include "GUIInfoManager.h"
32 #include "filesystem/DllLibCurl.h"
33 #include "filesystem/DirectoryCache.h"
34 #include "GUIPassword.h"
35 #include "LangInfo.h"
36 #include "utils/LangCodeExpander.h"
37 #include "PartyModeManager.h"
38 #include "PlayListPlayer.h"
39 #include "guilib/LocalizeStrings.h"
40 #include "guilib/GUIWindowManager.h"
41 #ifdef HAS_PYTHON
42 #include "interfaces/python/XBPython.h"
43 #endif
44 #if defined(TARGET_WINDOWS)
45 #include "input/windows/WINJoystick.h"
46 #elif defined(HAS_SDL_JOYSTICK) 
47 #include "input/SDLJoystick.h"
48 #endif
49
50
51
52   CGUISettings       g_guiSettings;
53   CSettings          g_settings;
54
55   CXBMCRenderManager g_renderManager;
56   CLangInfo          g_langInfo;
57   CLangCodeExpander  g_LangCodeExpander;
58   CLocalizeStrings   g_localizeStrings;
59   CLocalizeStrings   g_localizeStringsTemp;
60
61   CGUIWindowManager  g_windowManager;
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   CApplication       g_application;