AeEditor.h 1.02 KB
//
// AeEditor.h
//
// This class contains the abstract and concrete definitions
// for editor clients of the database.  Editors have both read
// and write access into the database.
//
// The AeBinEditor abstract class represents an editor for assets
// according to their type or bin.  It could also be called a list
// editor since the assets are viewed in a list.  This editor has
// lots of routines to support the list widget callbacks and must
// handle all the user input for each cell in the list.
//
// The AeAssetEditor, which edits all assets, and the AeBankEditor,
// which edits only bank assets, are implemented as AeBinEditors.
//

#ifndef __AeEditor__
#define __AeEditor__

#include "AeClient.h"


class AePlayer;

class AeEditor : public AeClient
{
public:
                        AeEditor (void);
    virtual	       	~AeEditor (void);

    void		SetPlayer (AePlayer * player) { fPlayer = player; }
    AePlayer *		GetPlayer (void)              { return fPlayer; }

protected:
    AePlayer *		fPlayer;
};


#endif __AeEditor__