]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GPortModel.h
The actual version updates the status bar with the highlighted object ... Also it...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GPortModel.h
index 8df71bf9fe6aa85baf5b4eaee15d3beb69bf4f5e..c18e225d0b277d63a0e1cb9d479e099bf5504b48 100644 (file)
@@ -46,6 +46,7 @@ Version:   $Revision$
 //Includes same project
 #include "GlobalConstants.h"
 #include "GObjectModel.h"
+#include "GBlackBoxModel.h"
 
 //Includes creaMaracasVisu
 
@@ -68,13 +69,20 @@ namespace bbtk
                ~GPortModel();
                
                //Public methods                
-               void registerInBox(GBlackBoxModel *blackBox);
+               void registerInBox(GBlackBoxModel *blackBox,int portType, int pos);
+               void updatePortPosition();
+               int getPortType();
+               virtual std::string getStatusText();
+
        private:
 
                //Attributes
                
                GBlackBoxModel *_parentBox;
 
+               int _portType;
+               int _posInBox;
+
                //Private Methods
 
        protected: