예제 #1
0
파일: GameClient.cpp 프로젝트: sagiben/xbmc
void CGameClient::cb_close_stream(void* kodiInstance, GAME_STREAM_TYPE stream)
{
  CGameClient *gameClient = static_cast<CGameClient*>(kodiInstance);
  if (!gameClient)
    return;

  gameClient->CloseStream(stream);
}
예제 #2
0
void CAddonCallbacksGame::CloseStream(void* addonData, GAME_STREAM_TYPE stream)
{
  CGameClient* gameClient = GetGameClient(addonData, __FUNCTION__);
  if (!gameClient)
    return;

  gameClient->CloseStream(stream);
}