From f557fb4d2b84e5948f54a5fbb0a645a5f97b83dd Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Wed, 3 Jul 2013 06:57:46 +0000 Subject: Get rid of the messy preprocessor hack for named sliders on the audio plug-ins for OS X: Consolidate files that are the same. Whatever class loads a nib, will be that owner, no matter what the nib says. Have shared code be in a dylib that loads, so there isn't warnings about conflicting classes. Other changes git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85757 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFSound/macsrc/NamedSlider.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'macosx/plugins/DFSound/macsrc/NamedSlider.h') diff --git a/macosx/plugins/DFSound/macsrc/NamedSlider.h b/macosx/plugins/DFSound/macsrc/NamedSlider.h index 38c38f9e..790db09a 100755 --- a/macosx/plugins/DFSound/macsrc/NamedSlider.h +++ b/macosx/plugins/DFSound/macsrc/NamedSlider.h @@ -2,16 +2,11 @@ #import -#ifdef USEOPENAL -#define NamedSlider NetSfPeopsSPUALPluginNamedSlider -#else -#define NamedSlider NetSfPeopsSPUSDLPluginNamedSlider -#endif - @interface NamedSlider : NSSlider { NSArray *strings; + Class pluginClass; } - -- (void)setStrings:(NSArray *)theStrings; +@property (retain) NSArray *strings; +@property Class pluginClass; @end -- cgit v1.2.3