2009-09-12 Chris Toshok <toshok@ximian.com>
[moon.git] / src / validators.h
blob13d427f4d5447077fcf4b934c369d1a4aa36cae8
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * validators.h:
5 * Contact:
6 * Moonlight List (moonlight-list@lists.ximian.com)
8 * Copyright 2008 Novell, Inc. (http://www.novell.com)
10 * See the LICENSE file included with the distribution for details.
13 #ifndef __VALIDATORS_H__
14 #define __VALIDATORS_H__
16 #include "value.h"
17 #include "error.h"
19 typedef bool ValueValidator (DependencyObject *instance, DependencyProperty *property, Value *value, MoonError *error);
21 class Validators
23 public:
24 static ValueValidator default_validator;
25 static ValueValidator AudioStreamIndexValidator;
26 static ValueValidator BorderThicknessValidator;
27 static ValueValidator BufferingTimeValidator;
28 static ValueValidator CornerRadiusValidator;
29 static ValueValidator CursorValidator;
30 static ValueValidator FloatValidator;
31 static ValueValidator PositiveIntValidator;
32 static ValueValidator IntGreaterThanZeroValidator;
33 static ValueValidator DoubleGreaterThanZeroValidator;
34 static ValueValidator NonNullValidator;
35 static ValueValidator NotNullOrEmptyValidator;
36 static ValueValidator MediaAttributeCollectionValidator;
37 static ValueValidator StyleValidator;
38 static ValueValidator TemplateValidator;
39 static ValueValidator IsTimelineValidator;
40 static ValueValidator StoryboardTargetPropertyValidator;
41 static ValueValidator IsSetterSealedValidator;
42 static ValueValidator ContentControlContentValidator;
43 static ValueValidator NameValidator;
44 static ValueValidator CrossDomainValidator;
45 static ValueValidator VolumeValidator;
46 static ValueValidator BalanceValidator;
49 #endif /* __VALIDATORS_H__ */