AssetMgr.h
1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#ifndef _AE_AssetMgr_h
#define _AE_AssetMgr_h
#include "Assets.h"
class AssetMgr
{
protected:
AssetList *assetList;
RefList *bankFList;
AEReverb *reverbAsset;
int numBankFiles;
int numBanks;
int numInsts;
int numSounds;
int numKeymaps;
int numEnvlps;
int numWavets;
int numLoops;
int numBooks;
public:
AssetMgr();
AEReverb* CreateReverb(void);
AEBankFile* CreateBankFile(char *name);
AEBank* CreateBank(char *name);
AEInst* CreateInst(char *name);
AESound* CreateSound(char *name);
AEKeymap* CreateKeymap(char *name);
AEEnvlp* CreateEnvlp(char *name);
AEWavet* CreateWavet(char *name);
AELoop* CreateLoop(char *name);
AEBook* CreateBook(char *name);
int DeleteReverb(AEReverb *reverb);
int DeleteBankFile(AEBankFile *bankF);
int DeleteBank(AEBank *bank);
int DeleteInst(AEInst *inst);
int DeleteSound(AESound *sound);
int DeleteKeymap(AEKeymap *keymap);
int DeleteEnvlp(AEEnvlp *envlp);
int DeleteWavet(AEWavet *wavet);
int DeleteLoop(AELoop *loop);
int DeleteBook(AEBook *book);
AEReverb* GetReverb(void);
AssetPair* ListAssets(int *numFound);
AssetPair* ListBankFiles(int *numFound);
AssetPair* ListBanks(int *numFound);
AssetPair* ListInsts(int *numFound);
AssetPair* ListSounds(int *numFound);
AssetPair* ListKeymaps(int *numFound);
AssetPair* ListEnvlps(int *numFound);
AssetPair* ListWavets(int *numFound);
AssetPair* ListLoops(int *numFound);
AssetPair* ListBooks(int *numFound);
};
#endif