X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fobject.h;h=2e2efffa5f5b14bb14c196052115ea84b0d6f521;hb=9d59b5831000704a1ed39c22a6043ba658993159;hp=5b19505d2c94be29bccb49cf44c87de0625b3b3d;hpb=eb0057e8a8145032152e4c417fcd102ef5a21484;p=architektonas diff --git a/src/object.h b/src/object.h index 5b19505..2e2efff 100644 --- a/src/object.h +++ b/src/object.h @@ -1,9 +1,10 @@ #ifndef __OBJECT_H__ #define __OBJECT_H__ +#include #include // This is a container #include "vector.h" // This is the mathematical construct -#include +#include "connection.h" class Painter; class QFont; @@ -31,9 +32,13 @@ class Object virtual Vector * GetPointAt(Vector); virtual void Enumerate(FILE *); virtual Object * Copy(void); + virtual Vector GetPointAtParameter(double parameter); + virtual void Connect(Object *, double); + virtual void Disconnect(Object *, double); + virtual void DisconnectAll(Object *); ObjectState GetState(void); void Reparent(Object *); - Dimension * GetAttachedDimension(void); +// Dimension * GetAttachedDimension(void); //Hm. Object * Connect(Object *); // Class methods @@ -53,8 +58,8 @@ class Object ObjectState state; ObjectState oldState; bool needUpdate; - Dimension * attachedDimension; - std::vector connected; +// Dimension * attachedDimension; + std::vector connected; // Class variables static QFont * font;