Remove ScreenPackagesSSC

This commit is contained in:
Colby Klein
2013-09-26 12:44:39 -04:00
committed by Devin J. Pohly
parent 9f4d91418f
commit 5ddc0562d5
3 changed files with 1 additions and 140 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ ScreenOptionsManageProfiles.cpp ScreenOptionsManageProfiles.h \
ScreenOptionsMaster.cpp ScreenOptionsMaster.h \
ScreenOptionsMasterPrefs.cpp ScreenOptionsMasterPrefs.h \
ScreenOptionsToggleSongs.cpp ScreenOptionsToggleSongs.h \
ScreenPackages.cpp ScreenPackages.h ScreenPackagesSSC.cpp ScreenPackagesSSC.h \
ScreenPackages.cpp ScreenPackages.h \
ScreenNetworkOptions.h ScreenNetworkOptions.cpp \
ScreenPlayerOptions.cpp ScreenPlayerOptions.h \
ScreenProfileLoad.cpp ScreenProfileLoad.h \
-80
View File
@@ -1,80 +0,0 @@
#include "global.h"
#if !defined(WITHOUT_NETWORKING)
#include "ScreenPackagesSSC.h"
#include "ThemeManager.h"
#include "RageDisplay.h"
#include "RageLog.h"
#include "ScreenManager.h"
REGISTER_SCREEN_CLASS( ScreenPackagesSSC );
void ScreenPackagesSSC::Init()
{
ScreenWithMenuElements::Init();
}
void ScreenPackagesSSC::HandleScreenMessage( const ScreenMessage SM )
{
if( SM == SM_GoToPrevScreen )
SCREENMAN->SetNewScreen( THEME->GetMetric (m_sName, "PrevScreen") );
else if( SM ==SM_GoToNextScreen )
SCREENMAN->SetNewScreen( THEME->GetMetric (m_sName, "NextScreen") );
ScreenWithMenuElements::HandleScreenMessage( SM );
}
bool ScreenPackagesSSC::Input( const InputEventPlus &input )
{
return ScreenWithMenuElements::Input( input );
}
bool ScreenPackagesSSC::MenuBack( const InputEventPlus &input )
{
TweenOffScreen();
Cancel( SM_GoToPrevScreen );
ScreenWithMenuElements::MenuBack( input );
return true;
}
void ScreenPackagesSSC::Update( float fDeltaTime )
{
ScreenWithMenuElements::Update(fDeltaTime);
}
void ScreenPackagesSSC::DrawPrimitives()
{
ScreenWithMenuElements::DrawPrimitives();
}
RString ScreenPackagesSSC::JSONParse( const RString &string_in )
{
/* json++ stuff here */
return "";
}
#endif
/*
* (c) 2009 Colby Klein
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, and/or sell copies of the Software, and to permit persons to
* whom the Software is furnished to do so, provided that the above
* copyright notice(s) and this permission notice appear in all copies of
* the Software and that both the above copyright notice(s) and this
* permission notice appear in supporting documentation.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT
* OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
-59
View File
@@ -1,59 +0,0 @@
#ifndef SCREEN_PACKAGES_SSC_H
#define SCREEN_PACKAGES_SSC_H
#include "ScreenWithMenuElements.h"
#include "BitmapText.h"
#include "ezsockets.h"
#include "RageFileManager.h"
#include "RageFile.h"
#include "Sprite.h"
#if !defined(WITHOUT_NETWORKING)
/** @brief Parses JSON for downloadable content. */
class ScreenPackagesSSC : public ScreenWithMenuElements
{
public:
virtual void Init();
/* Input stuff */
virtual bool Input( const InputEventPlus &input );
virtual bool MenuBack( const InputEventPlus &input );
virtual void HandleScreenMessage( const ScreenMessage SM );
virtual void Update(float f);
virtual void DrawPrimitives();
private:
RString JSONParse( const RString &string_in );
};
#endif // WITHOUT_NETWORKING?
#endif
/**
* @file
* @author Chris Danford (c) 2004
* @section LICENSE
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, and/or sell copies of the Software, and to permit persons to
* whom the Software is furnished to do so, provided that the above
* copyright notice(s) and this permission notice appear in all copies of
* the Software and that both the above copyright notice(s) and this
* permission notice appear in supporting documentation.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT
* OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/