From: <man...@us...> - 2015-04-23 19:20:49
|
Revision: 4976 http://sourceforge.net/p/modplug/code/4976 Author: manxorist Date: 2015-04-23 19:20:43 +0000 (Thu, 23 Apr 2015) Log Message: ----------- [Ref] #ifdef-out unused and unfinished code in SampleGenerator.* that does not compile. Modified Paths: -------------- trunk/OpenMPT/mptrack/SampleGenerator.cpp trunk/OpenMPT/mptrack/SampleGenerator.h Modified: trunk/OpenMPT/mptrack/SampleGenerator.cpp =================================================================== --- trunk/OpenMPT/mptrack/SampleGenerator.cpp 2015-04-23 17:48:24 UTC (rev 4975) +++ trunk/OpenMPT/mptrack/SampleGenerator.cpp 2015-04-23 19:20:43 UTC (rev 4976) @@ -9,6 +9,9 @@ #include "stdafx.h" + +#if MPT_DISABLED_CODE + #include "SampleGenerator.h" #include "modsmp_ctrl.h" @@ -774,3 +777,5 @@ if(currentItem != 0) clist->SetCurSel(currentItem - 1); OnListSelChange(); } + +#endif // MPT_DISABLED_CODE Modified: trunk/OpenMPT/mptrack/SampleGenerator.h =================================================================== --- trunk/OpenMPT/mptrack/SampleGenerator.h 2015-04-23 17:48:24 UTC (rev 4975) +++ trunk/OpenMPT/mptrack/SampleGenerator.h 2015-04-23 19:20:43 UTC (rev 4976) @@ -10,6 +10,8 @@ #pragma once +#ifdef MPT_DISABLED_CODE + #include "mptrack.h" #include "Mainfrm.h" #include "Sndfile.h" @@ -208,3 +210,5 @@ DECLARE_MESSAGE_MAP() }; + +#endif // MPT_DISABLED_CODE This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |