SGConditionRef typedef. No functional changes.
This commit is contained in:
@@ -69,7 +69,7 @@ public:
|
||||
virtual bool test () const;
|
||||
virtual void collectDependentProperties(std::set<const SGPropertyNode*>& props) const;
|
||||
private:
|
||||
SGSharedPtr<SGCondition> _condition;
|
||||
SGConditionRef _condition;
|
||||
};
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ public:
|
||||
virtual void addCondition (SGCondition * condition);
|
||||
virtual void collectDependentProperties(std::set<const SGPropertyNode*>& props) const;
|
||||
private:
|
||||
std::vector<SGSharedPtr<SGCondition> > _conditions;
|
||||
std::vector<SGConditionRef> _conditions;
|
||||
};
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ public:
|
||||
virtual void addCondition (SGCondition * condition);
|
||||
virtual void collectDependentProperties(std::set<const SGPropertyNode*>& props) const;
|
||||
private:
|
||||
std::vector<SGSharedPtr<SGCondition> > _conditions;
|
||||
std::vector<SGConditionRef> _conditions;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
virtual void collectDependentProperties(std::set<const SGPropertyNode*>& props) const { }
|
||||
};
|
||||
|
||||
typedef SGSharedPtr<SGCondition> SGConditionRef;
|
||||
|
||||
|
||||
/**
|
||||
* Base class for a conditional components.
|
||||
@@ -56,7 +58,7 @@ public:
|
||||
virtual const SGCondition * getCondition () const { return _condition; }
|
||||
virtual bool test () const;
|
||||
private:
|
||||
SGSharedPtr<SGCondition> _condition;
|
||||
SGConditionRef _condition;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user