2009-08-26 Chris Toshok <toshok@ximian.com>
[moon.git] / src / xap.h
blobabcc39d473564f2b7690ae9bedf084091a1b529a
1 /*
2 * xap.h: XAP loader
4 * Copyright 2008 Novell, Inc. (http://www.novell.com)
6 * See the LICENSE file included with the distribution for details.
7 *
8 */
10 #ifndef __MOON_XAP_H__
11 #define __MOON_XAP_H__
13 #include <glib.h>
15 /* @Version=2 */
16 class Xap {
17 char *xap_dir;
18 XamlLoader *loader;
19 DependencyObject *root;
21 public:
22 Xap (XamlLoader *loader, char *xap_dir, DependencyObject *root);
23 virtual ~Xap ();
25 DependencyObject *getRoot () { return root; }
27 /* @GenerateCBinding,GeneratePInvoke */
28 static char *Unpack (const char *fname);
31 Xap *xap_create_from_file (XamlLoader *loader, const char *filename);
33 #endif /* __MOON_XAP_H__ */