summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFSound/macsrc/NamedSlider.h
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-03 06:57:46 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-03 06:57:46 +0000
commitf557fb4d2b84e5948f54a5fbb0a645a5f97b83dd (patch)
tree79d17d1962e4c0927dfafedb65107f473952d33c /macosx/plugins/DFSound/macsrc/NamedSlider.h
parent3b35614dd7a9cd014993931f3576e22b91e8820e (diff)
downloadpcsxr-f557fb4d2b84e5948f54a5fbb0a645a5f97b83dd.tar.gz
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
Diffstat (limited to 'macosx/plugins/DFSound/macsrc/NamedSlider.h')
-rwxr-xr-xmacosx/plugins/DFSound/macsrc/NamedSlider.h11
1 files changed, 3 insertions, 8 deletions
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 <Cocoa/Cocoa.h>
-#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