00001 #ifndef mswFOCUS_H
00002 #define mswFOCUS_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef __cplusplus
00014 #error This is a C++ include file and cannot be used from plain C
00015 #endif
00016
00017 #include "eccsErr.h"
00018 #include "evhDB_TASK.h"
00019 #include "evhDB_SYNC.h"
00020
00021 #include "msw.h"
00022
00023 class mswCHANGE_FOCUS;
00024
00025 class mswFOCUS : public eccsERROR_CLASS
00026 {
00027 public:
00028 mswFOCUS();
00029 mswFOCUS(const dbSYMADDRESS dbPoint);
00030 ~mswFOCUS();
00031
00032 vltINT32 CurrentFocus();
00033 const char *CurrentFocusName();
00034
00035 protected:
00036 mswFOCUS &CurrentFocus(vltINT32 newFocus);
00037
00038 private:
00039 eccsDB_INT32 *currentFocusDb;
00040 friend class mswCHANGE_FOCUS;
00041 };
00042
00043 #endif