~ubuntu-branches/ubuntu/trusty/moon/trusty

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
 * Contact:
 *   Moonlight List (moonlight-list@lists.ximian.com)
 *
 * Copyright 2007 Novell, Inc. (http://www.novell.com)
 *
 * See the LICENSE file included with the distribution for details.
 * 
 */

#ifndef MOON_APPLIER_H
#define MOON_APPLIER_H

#include <glib.h>

#include "trigger.h"
#include "collection.h"
#include "clock.h"
#include "list.h"
#include "point.h"

#define APPLIER_PRECEDENCE_INSTANT 0
#define APPLIER_PRECEDENCE_ANIMATION 100
#define APPLIER_PRECEDENCE_ANIMATION_RESET APPLIER_PRECEDENCE_INSTANT

class Applier {

 private:
	GHashTable *objects;
	bool readonly;

 public:
	Applier ();
	~Applier ();

	void AddPropertyChange (DependencyObject *object, DependencyProperty *property, Value *v, int precedence);
	void Apply ();
	void Flush ();
};
	
#endif /* MOON_APPLIER_H */