/*
 *      Copyright (C) 2005-2015 Team XBMC
 *      http://xbmc.org
 *
 *  This Program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2, or (at your option)
 *  any later version.
 *
 *  This Program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with XBMC; see the file COPYING.  If not, see
 *  <http://www.gnu.org/licenses/>.
 *
 */
#pragma once

#include "kodi/libXBMC_addon.h"
#include "kodi/libXBMC_pvr.h"
#include "kodi/libKODI_guilib.h"
#include "platform/util/StdString.h"

#include "clientversion.h"

extern bool								m_bCreated;
extern CStdString						g_strUserPath;
extern CStdString						g_strClientPath;
extern CStdString						g_strServerName;		// the name of the server to connect to
extern CStdString						g_strClientName;		// the name of the computer running addon
extern CStdString						g_clientOS;				// OS of client, passed to server
extern int								g_port;
extern bool								g_bSignalEnable;
extern int								g_signalThrottle;
extern bool								g_bEnableMultiResume;
extern ADDON::CHelper_libXBMC_addon		*XBMC;
extern CHelper_libXBMC_pvr				*PVR;
extern CHelper_libKODI_guilib			*GUI;
extern CStdString						g_strServerMAC;
extern bool								g_bWakeOnLAN;
extern CStdString						g_AddonDataCustom;

enum backend_status
  {
    BACKEND_UNKNOWN,
    BACKEND_DOWN,
    BACKEND_UP
  };
extern backend_status					g_BackendOnline;
