MusicKit  0.0.0
SndTable.h
00001 
00002 //
00003 //  $Id$
00004 //
00005 //  Original Author: SKoT McDonald, <skot@tomandandy.com>
00006 //
00007 //  Copyright (c) 2002, The MusicKit Project.  All rights reserved.
00008 //
00009 //  Permission is granted to use and modify this code for commercial and
00010 //  non-commercial purposes so long as the author attribution and copyright
00011 //  messages remain intact and accompany all relevant code.
00012 //
00014 
00015 #import <Foundation/Foundation.h>
00016 #import "Snd.h"
00017 
00018 @interface SndTable : NSObject {
00019   NSMutableDictionary *nameTable;
00020 }
00021 
00022 + defaultSndTable;
00023 - init;
00024 - (void) dealloc;
00025 - soundNamed:(NSString *)aName;
00026 - findSoundFor:(NSString *)aName;
00027 - addName:(NSString *)aname sound:aSnd;
00028 - addName:(NSString *)aname fromSoundfile:(NSString *)filename;
00029 - addName:(NSString *)aname fromSection:(NSString *)sectionName;
00030 - addName:(NSString *)aName fromBundle:(NSBundle *)aBundle;
00031 - (void)removeSoundForName: (NSString *) aname;
00032 - (void) removeAllSounds;
00033 
00034 @end