gbe_fork/dll/steam_musicremote.cpp

223 lines
5.5 KiB
C++
Raw Normal View History

2019-04-14 00:21:56 +08: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/>. */
2023-12-27 15:21:59 +08:00
#include "dll/steam_musicremote.h"
2019-04-14 00:21:56 +08:00
// Service Definition
bool Steam_MusicRemote::RegisterSteamMusicRemote( const char *pchName )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::DeregisterSteamMusicRemote()
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::BIsCurrentMusicRemote()
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::BActivationSuccess( bool bValue )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::SetDisplayName( const char *pchDisplayName )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::SetPNGIcon_64x64( void *pvBuffer, uint32 cbBufferLength )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
// Abilities for the user interface
bool Steam_MusicRemote::EnablePlayPrevious(bool bValue)
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::EnablePlayNext( bool bValue )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::EnableShuffled( bool bValue )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::EnableLooped( bool bValue )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::EnableQueue( bool bValue )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::EnablePlaylists( bool bValue )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
// Status
bool Steam_MusicRemote::UpdatePlaybackStatus( AudioPlayback_Status nStatus )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::UpdateShuffled( bool bValue )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::UpdateLooped( bool bValue )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::UpdateVolume( float flValue )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
// volume is between 0.0 and 1.0
// Current Entry
bool Steam_MusicRemote::CurrentEntryWillChange()
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::CurrentEntryIsAvailable( bool bAvailable )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::UpdateCurrentEntryText( const char *pchText )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::UpdateCurrentEntryElapsedSeconds( int nValue )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::UpdateCurrentEntryCoverArt( void *pvBuffer, uint32 cbBufferLength )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::CurrentEntryDidChange()
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
// Queue
bool Steam_MusicRemote::QueueWillChange()
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::ResetQueueEntries()
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::SetQueueEntry( int nID, int nPosition, const char *pchEntryText )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::SetCurrentQueueEntry( int nID )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::QueueDidChange()
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
// Playlist
bool Steam_MusicRemote::PlaylistWillChange()
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::ResetPlaylistEntries()
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::SetPlaylistEntry( int nID, int nPosition, const char *pchEntryText )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::SetCurrentPlaylistEntry( int nID )
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}
bool Steam_MusicRemote::PlaylistDidChange()
{
2024-01-20 09:32:01 +08:00
PRINT_DEBUG("TODO Steam_MusicRemote::%s\n", __FUNCTION__);
return false;
2019-04-14 00:21:56 +08:00
}