#include "cores/IPlayerCallback.h"
#include "cores/playercorefactory/PlayerCoreFactory.h"
#include "PlayListPlayer.h"
-#include "settings/ISettingsHandler.h"
-#include "settings/ISettingCallback.h"
-#include "settings/ISubSettings.h"
+#include "settings/lib/ISettingsHandler.h"
+#include "settings/lib/ISettingCallback.h"
+#include "settings/lib/ISubSettings.h"
#if !defined(TARGET_WINDOWS) && defined(HAS_DVD_DRIVE)
#include "storage/DetectDVDType.h"
#endif
void RestartApp();
void UnloadSkin(bool forReload = false);
bool LoadUserWindows();
- void ReloadSkin();
+ void ReloadSkin(bool confirm = false);
const CStdString& CurrentFile();
CFileItem& CurrentFileItem();
+ CFileItem& CurrentUnstackedItem();
virtual bool OnMessage(CGUIMessage& message);
PLAYERCOREID GetCurrentPlayer();
virtual void OnPlayBackEnded();
void CheckScreenSaverAndDPMS();
void CheckPlayingProgress();
void ActivateScreenSaver(bool forceType = false);
+ void CloseNetworkShares();
virtual void Process();
void ProcessSlow();
float GetVolume(bool percentage = true) const;
void SetVolume(float iValue, bool isPercentage = true);
bool IsMuted() const;
+ bool IsMutedInternal() const { return m_muted; }
void ToggleMute(void);
void SetMute(bool mute);
void ShowVolumeBar(const CAction *action = NULL);
- int GetPlaySpeed() const;
int GetSubtitleDelay() const;
int GetAudioDelay() const;
- void SetPlaySpeed(int iSpeed);
void ResetSystemIdleTimer();
void ResetScreenSaverTimer();
void StopScreenSaverTimer();
void LoadSkin(const boost::shared_ptr<ADDON::CSkinInfo>& skin);
bool m_skinReloading; // if true we disallow LoadSkin until ReloadSkin is called
+ bool m_skinReverting;
bool m_loggingIn;
#if defined(TARGET_DARWIN_IOS)
friend class CWinEventsIOS;
#endif
+#if defined(TARGET_ANDROID)
+ friend class CWinEventsAndroid;
+#endif
// screensaver
bool m_bScreenSave;
ADDON::AddonPtr m_screenSaver;
CFileItemPtr m_progressTrackingItem;
bool m_progressTrackingPlayCountUpdate;
- int m_iPlaySpeed;
int m_currentStackPosition;
int m_nextPlaylistItem;
bool ProcessGamepad(float frameTime);
bool ProcessEventServer(float frameTime);
bool ProcessPeripherals(float frameTime);
- bool ProcessJoystickEvent(const std::string& joystickName, int button, bool isAxis, float fAmount, unsigned int holdTime = 0);
+ bool ProcessJoystickEvent(const std::string& joystickName, int button, short inputType, float fAmount, unsigned int holdTime = 0);
bool ExecuteInputAction(const CAction &action);
int GetActiveWindowID(void);