AeConfig.h
720 Bytes
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
#ifndef __AeConfig__
#define __AeConfig__
#include "AeErr.h"
#include "n64.h"
class AeN64ConfigFile;
class AeFxAsset;
class AeConfig
{
public:
AeConfig (void);
virtual ~AeConfig (void);
};
class AeN64Config : public AeConfig
{
public:
AeN64Config (void);
virtual ~AeN64Config (void);
AeErr ReadFromFile (const char *);
AeErr WriteToFile (const char *);
AeFxAsset * GetFxAsset (void) { return fFx; }
void SetFxAsset (AeFxAsset * fx);
int GetOutputRate (void) { return c.synConfig.outputRate; }
TN64Config c;
private:
AeN64ConfigFile * fFile;
AeFxAsset * fFx;
};
#endif // __AeConfig__