Dependency following now works

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@95 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-11-25 22:48:14 +00:00
parent 9a62445621
commit 8dcda6fd93
16 changed files with 108 additions and 12 deletions
+4
View File
@@ -25,6 +25,7 @@ DECLARE_POINTER_TYPE(Value);
DECLARE_POINTER_TYPE(Keyword);
class ScriptManager;
class Context;
class Dependency;
// ----------------------------------------------------------------------------- : Set
@@ -82,6 +83,9 @@ inline int item_count(const Set& set) {
return (int)set.cards.size();
}
void mark_dependency_member(const SetP& value, const String& name, const Dependency& dep);
void mark_dependency_member(Set* value, const String& name, const Dependency& dep);
// ----------------------------------------------------------------------------- : SetView
/// A 'view' of a Set, is notified when the Set is updated