AeConfig.h 720 Bytes

#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__