strip added smb:// shares of their user/pass when adding, and instead store that...
[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
45   CGUISettings       g_guiSettings;
46   CSettings          g_settings;
47
48   CXBMCRenderManager g_renderManager;
49   CLangInfo          g_langInfo;
50   CLangCodeExpander  g_LangCodeExpander;
51   CLocalizeStrings   g_localizeStrings;
52   CLocalizeStrings   g_localizeStringsTemp;
53
54   CGUIWindowManager  g_windowManager;
55   XFILE::CDirectoryCache g_directoryCache;
56
57   CGUITextureManager g_TextureManager;
58   CGUILargeTextureManager g_largeTextureManager;
59   CMouseStat         g_Mouse;
60   CGUIPassword       g_passwordManager;
61   CGUIInfoManager    g_infoManager;
62
63   XCURL::DllLibCurlGlobal g_curlInterface;
64   CDownloadQueueManager g_DownloadManager;
65   CPartyModeManager     g_partyModeManager;
66
67 #ifdef HAS_PYTHON
68   XBPython           g_pythonParser;
69 #endif
70   CAlarmClock        g_alarmClock;
71   PLAYLIST::CPlayListPlayer g_playlistPlayer;
72   CApplication       g_application;