AeEditor.h
1.02 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
//
// 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__