00001
#if !defined(__BAR_HPP)
00002
#define __BAR_HPP
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
#if !defined(__COMMON_HPP)
00024
#include <Common.hpp>
00025
#endif
00026
00027 DECLARE_CLASS(
Bar );
00028
00037 class Bar
00038 {
00039
00040
public:
00041
00043
00044
Bar(
void );
00045
00047
00048
Bar( CORELINUX(Int) aX, CORELINUX(Int) aY );
00049
00051
00052
Bar(
BarCref );
00053
00055
00056
virtual ~Bar(
void );
00057
00058
00059
00060
00061
00063
00064
BarRef operator=(
BarCref );
00065
00067
00068
bool operator==(
BarCref );
00069
00070
00071
00072
00073
00075
00076 CORELINUX(IntCref)
getVertical(
void )
const;
00077
00079
00080 CORELINUX(IntCref)
getHorizontal(
void )
const;
00081
00082
00083
00084
00086
00087
void setVertical( CORELINUX(Int) );
00088
00090
00091
void setHorizontal( CORELINUX(Int) );
00092
00093
00094
protected:
00095
00096
00097
private:
00098
00100
00101 CORELINUX(Int) theVertical;
00102
00104
00105 CORELINUX(Int) theHorizontal;
00106 };
00107
00108
#endif
00109
00110
00111
00112
00113
00114
00115
00116
00117