diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-21 18:42:39 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-21 18:42:39 +0000 |
| commit | a52a6d96d701c993896f276e4198003317632aaf (patch) | |
| tree | be2f51e6a433d1fdf9a7c8248b343cb3f6297212 /otk/point.hh | |
| parent | a36c7543d4eedaa9e10bfd9f4d9b81279b1bb7e6 (diff) | |
rm the old code including the .pys and the c++ shit
Diffstat (limited to 'otk/point.hh')
| -rw-r--r-- | otk/point.hh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/otk/point.hh b/otk/point.hh deleted file mode 100644 index f438b347..00000000 --- a/otk/point.hh +++ /dev/null @@ -1,23 +0,0 @@ -// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- -#ifndef __point_hh -#define __point_hh - -namespace otk { - -class Point { - int _x, _y; -public: - Point() : _x(0), _y(0) {} - Point(int x, int y) : _x(x), _y(y) {} - Point(const Point &p) : _x(p._x), _y(p._y) {} - - inline int x() const { return _x; } - inline int y() const { return _y; } - - bool operator==(const Point &o) const { return _x == o._x && _y == o._y; } - bool operator!=(const Point &o) const { return _x != o._x || _y != o._y; } -}; - -} - -#endif // __point_hh |
