--- a/src/FingersDance.Data/Annotation.cs Tue Nov 24 07:50:17 2009 +0100
+++ b/src/FingersDance.Data/Annotation.cs Tue Nov 24 11:35:07 2009 +0100
@@ -11,10 +11,10 @@
private String _id;
private float _tcBegin;
private float _dur;
- private String _gestureType;
+ private List<String> _gestureType;
private Color _color;
- public Annotation(String idPar, float tcBeginPar, float durPar, String gesturePar, Color colorPar)
+ public Annotation(String idPar, float tcBeginPar, float durPar, List<String> gesturePar, Color colorPar)
{
this._id = idPar;
this._tcBegin = tcBeginPar;
@@ -53,12 +53,12 @@
_dur = value;
}
}
- public String GestureType
+ public List<String> GestureType
{
get { return _gestureType; }
set
{
- if (value == _gestureType || String.IsNullOrEmpty(value))
+ if (value == _gestureType)
return;
_gestureType = value;
}