00001
00002
00004
00005
00006
00008
00009 #ifndef __DasherAppInterface_h__
00010 #define __DasherAppInterface_h__
00011
00012 #include "DasherScreen.h"
00013 #include "DashEdit.h"
00014 #include "AlphIO.h"
00015 #include <string>
00016
00017
00018 namespace Dasher {class CDasherAppInterface;}
00019 class Dasher::CDasherAppInterface
00020 {
00021 public:
00022
00023
00025 virtual void ChangeScreen(CDasherScreen* NewScreen)=0;
00026
00028 virtual void ChangeEdit(CDashEditbox* NewEdit)=0;
00029
00030
00032
00038
00039
00041
00043
00044
00045
00046
00048 virtual double GetCurCPM()=0;
00049
00051 virtual double GetCurFPS()=0;
00052
00053
00055
00056
00058 virtual const CAlphIO::AlphInfo& GetInfo(const std::string& AlphID)=0;
00059
00061 virtual void SetInfo(const CAlphIO::AlphInfo& NewInfo)=0;
00062
00064 virtual void DeleteAlphabet(const std::string& AlphID)=0;
00065 };
00066
00067
00068 #endif