2019-04-13 16:21:56 +00:00
|
|
|
/* Copyright (C) 2019 Mr Goldberg
|
|
|
|
This file is part of the Goldberg Emulator
|
|
|
|
|
|
|
|
The Goldberg Emulator is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Lesser General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 3 of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
The Goldberg Emulator 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
|
|
|
|
Lesser General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
License along with the Goldberg Emulator; if not, see
|
|
|
|
<http://www.gnu.org/licenses/>. */
|
|
|
|
|
|
|
|
#include "steam_musicremote.h"
|
|
|
|
|
|
|
|
// Service Definition
|
|
|
|
bool Steam_MusicRemote::RegisterSteamMusicRemote( const char *pchName )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::DeregisterSteamMusicRemote()
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::BIsCurrentMusicRemote()
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::BActivationSuccess( bool bValue )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::SetDisplayName( const char *pchDisplayName )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::SetPNGIcon_64x64( void *pvBuffer, uint32 cbBufferLength )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Abilities for the user interface
|
|
|
|
bool Steam_MusicRemote::EnablePlayPrevious(bool bValue)
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::EnablePlayNext( bool bValue )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::EnableShuffled( bool bValue )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::EnableLooped( bool bValue )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::EnableQueue( bool bValue )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::EnablePlaylists( bool bValue )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Status
|
|
|
|
bool Steam_MusicRemote::UpdatePlaybackStatus( AudioPlayback_Status nStatus )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::UpdateShuffled( bool bValue )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::UpdateLooped( bool bValue )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::UpdateVolume( float flValue )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
// volume is between 0.0 and 1.0
|
|
|
|
|
|
|
|
// Current Entry
|
|
|
|
bool Steam_MusicRemote::CurrentEntryWillChange()
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::CurrentEntryIsAvailable( bool bAvailable )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::UpdateCurrentEntryText( const char *pchText )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::UpdateCurrentEntryElapsedSeconds( int nValue )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::UpdateCurrentEntryCoverArt( void *pvBuffer, uint32 cbBufferLength )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::CurrentEntryDidChange()
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Queue
|
|
|
|
bool Steam_MusicRemote::QueueWillChange()
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::ResetQueueEntries()
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::SetQueueEntry( int nID, int nPosition, const char *pchEntryText )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::SetCurrentQueueEntry( int nID )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::QueueDidChange()
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Playlist
|
|
|
|
bool Steam_MusicRemote::PlaylistWillChange()
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::ResetPlaylistEntries()
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::SetPlaylistEntry( int nID, int nPosition, const char *pchEntryText )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::SetCurrentPlaylistEntry( int nID )
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool Steam_MusicRemote::PlaylistDidChange()
|
|
|
|
{
|
2020-05-20 22:42:15 +00:00
|
|
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
|
|
return false;
|
2019-04-13 16:21:56 +00:00
|
|
|
}
|