00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00029 #ifndef __MX_IDEFWINDOW_H__
00030 #define __MX_IDEFWINDOW_H__
00031
00032
00033
00034
00035 #include <mx_types.h>
00036 #include <mx_error_codes.h>
00037
00038 #include "IInterface.h"
00039
00040
00041 #define MX_IDEFWINDOW_ID "IDefWindow"
00042
00043
00044
00045 namespace mx {
00046
00048
00053 class IDefWindow : public virtual IInterface {
00054
00055 public:
00056
00058
00059
00060
00063 virtual void size(float& x, float& y, float& width, float& height) = 0;
00064
00066
00069 virtual mx::EErrorCode setSize(float& x, float& y, float& width, float& height) = 0;
00071
00073
00074 virtual u32 eye() = 0;
00075 virtual mx::EErrorCode setEye(u32 validEyes) = 0;
00077
00079 virtual bool isValid() = 0;
00080
00081
00083
00087 virtual bool isExclude() =0;
00088 virtual mx::EErrorCode exclude() =0;
00090
00091
00092
00093 };
00094 };
00095
00096
00097
00098 #endif // __MX_IDEFWINDOW_H__