add the 2.1-bootstrap dir to MONO_PATH when running smcs
[moon.git] / src / validators.h
blob8e342ab79fa3b9c60381c0d5babac53a33970c26
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 PositiveIntValidator;
31 static ValueValidator IntGreaterThanZeroValidator;
32 static ValueValidator DoubleGreaterThanZeroValidator;
33 static ValueValidator NonNullValidator;
34 static ValueValidator NotNullOrEmptyValidator;
35 static ValueValidator MediaAttributeCollectionValidator;
36 static ValueValidator StyleValidator;
37 static ValueValidator TemplateValidator;
38 static ValueValidator IsTimelineValidator;
39 static ValueValidator StoryboardTargetPropertyValidator;
40 static ValueValidator IsSetterSealedValidator;
41 static ValueValidator ContentControlContentValidator;
42 static ValueValidator NameValidator;
43 static ValueValidator CrossDomainValidator;
44 static ValueValidator VolumeValidator;
45 static ValueValidator BalanceValidator;
48 #endif /* __VALIDATORS_H__ */