2009-09-12 Chris Toshok <toshok@ximian.com>
[moon.git] / src / applier.h
blob258a675786be07be509940cacc4f2532691dcb05
1 /*
2 * Contact:
3 * Moonlight List (moonlight-list@lists.ximian.com)
5 * Copyright 2007 Novell, Inc. (http://www.novell.com)
7 * See the LICENSE file included with the distribution for details.
8 *
9 */
11 #ifndef MOON_APPLIER_H
12 #define MOON_APPLIER_H
14 #include <glib.h>
16 #include "trigger.h"
17 #include "collection.h"
18 #include "clock.h"
19 #include "list.h"
20 #include "point.h"
22 #define APPLIER_PRECEDENCE_INSTANT 0
23 #define APPLIER_PRECEDENCE_ANIMATION 100
24 #define APPLIER_PRECEDENCE_ANIMATION_RESET APPLIER_PRECEDENCE_INSTANT
26 class Applier {
28 private:
29 GHashTable *objects;
30 bool readonly;
32 public:
33 Applier ();
34 ~Applier ();
36 void AddPropertyChange (DependencyObject *object, DependencyProperty *property, Value *v, int precedence);
37 void Apply ();
38 void Flush ();
41 #endif /* MOON_APPLIER_H */