index 6abb01d497e67fdd070b0753b2dd37a18a66cd2d..71713ae414ac61552d5d0b7012b2c1269160eaa5 100644 (file)
--- a/src/libavoid/connector.h
+++ b/src/libavoid/connector.h
namespace Avoid {
-typedef unsigned int uint;
-
class ConnRef;
typedef std::list<ConnRef *> ConnRefList;
class ConnRef
{
public:
- ConnRef(const uint id);
- ConnRef(const uint id, const Point& src, const Point& dst);
+ ConnRef(const unsigned int id);
+ ConnRef(const unsigned int id, const Point& src, const Point& dst);
~ConnRef();
PolyLine& route(void);
void moveRoute(const int& diff_x, const int& diff_y);
void freeRoute(void);
void calcRouteDist(void);
- void updateEndPoint(const uint type, const Point& point);
+ void updateEndPoint(const unsigned int type, const Point& point);
void makeActive(void);
void makeInactive(void);
void lateSetup(const Point& src, const Point& dst);
friend void markConnectors(ShapeRef *shape);
private:
- uint _id;
+ unsigned int _id;
bool _needs_reroute_flag;
bool _false_path;
bool _active;