[Uml-devel] kdesdk/umbrello/umbrello
Luis De la Parra Blum
lparrab at gmx.net
Wed Mar 12 16:20:12 UTC 2003
CVS commit by luis:
added "dummy" assocrule for new diagram code.
will replace the acceptAssoc() method from UMLObject
M +7 -0 assocrules.cpp 1.10
M +4 -0 assocrules.h 1.3
--- kdesdk/umbrello/umbrello/assocrules.h #1.2:1.3
@@ -12,4 +12,6 @@
#include "umlnamespace.h"
+namespace std
+{ class type_info; }
class UMLWidget;
@@ -39,4 +41,6 @@ public:
*/
static bool allowAssociation( Association_Type assocType, UMLWidget * widget );
+
+ static bool allowAssociation( Association_Type assocType, const std::type_info & );
/**
--- kdesdk/umbrello/umbrello/assocrules.cpp #1.9:1.10
@@ -9,4 +9,5 @@
#include <kdebug.h>
+#include <typeinfo>
#include "assocrules.h"
@@ -19,4 +20,10 @@ AssocRules::AssocRules() {}
AssocRules::~AssocRules() {}
+
+bool allowAssociation( Association_Type assocType, const std::type_info &type )
+{
+ return false;
+
+}
bool AssocRules::allowAssociation( Association_Type assocType, UMLWidget * widget ) {
More information about the umbrello-devel
mailing list