MusicKit  0.0.0
SndPasteboard.h
00001 
00002 //
00003 //  $Id$
00004 //
00005 //  Description: A category of Snd performing I/O to AppKit pasteboards.
00006 //    We place this in a separate category to isolate AppKit dependence.
00007 //
00008 //  Original Author:  Leigh Smith, <leigh@leighsmith.com>
00009 //
00010 //  Copyright (c) 2004, The MusicKit Project.  All rights reserved.
00011 //
00012 //  Permission is granted to use and modify this code for commercial and 
00013 //  non-commercial purposes so long as the author attribution and copyright 
00014 //  messages remain intact and accompany all relevant code.
00015 //
00017 
00018 #import "Snd.h"
00019 
00020 #ifndef USE_NEXTSTEP_SOUND_IO
00021 /* Define this for compatibility */
00022 #define NXSoundPboard SndPasteboardType
00023 
00024 extern NSString *SndPasteboardType;
00025 #import <AppKit/NSPasteboard.h>
00026 #endif
00027 
00028 @interface Snd(Pasteboard)
00029 
00044 - initFromPasteboard: (NSPasteboard *) thePboard;
00045 
00055 - (void) writeToPasteboard: (NSPasteboard *) thePboard;
00056 
00057 @end