~ubuntu-branches/ubuntu/karmic/moon/karmic

« back to all changes in this revision

Viewing changes to src/deployment.h

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2009-02-14 12:01:08 UTC
  • Revision ID: james.westby@ubuntu.com-20090214120108-06539vb25vhbd8bn
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
2
/* 
 
3
 * deployment.h: Deployment
 
4
 *
 
5
 * Copyright 2008 Novell, Inc.  (http://www.novell.com)
 
6
 *
 
7
 * See the LICENSE file included with the distribution for details.
 
8
 */
 
9
 
 
10
#ifndef __DEPLOYMENT_H__
 
11
#define __DEPLOYMENT_H__
 
12
 
 
13
#include <glib.h>
 
14
 
 
15
#include "enums.h"
 
16
#include "dependencyobject.h"
 
17
#include "collection.h"
 
18
 
 
19
/* @SilverlightVersion="2" */
 
20
/* @Namespace=System.Windows */
 
21
class AssemblyPart : public DependencyObject {
 
22
 protected:
 
23
        virtual ~AssemblyPart () {}
 
24
        
 
25
 public:
 
26
        /* @PropertyType=string */
 
27
        static DependencyProperty *SourceProperty;
 
28
        
 
29
        /* @GenerateCBinding,GeneratePInvoke */
 
30
        AssemblyPart () { }
 
31
        
 
32
        virtual Type::Kind GetObjectType () { return Type::ASSEMBLYPART; }
 
33
};
 
34
 
 
35
 
 
36
/* @SilverlightVersion="2" */
 
37
/* @Namespace=System.Windows */
 
38
class AssemblyPartCollection : public DependencyObjectCollection {
 
39
 protected:
 
40
        virtual ~AssemblyPartCollection () {}
 
41
        
 
42
 public:
 
43
        /* @GenerateCBinding,GeneratePInvoke */
 
44
        AssemblyPartCollection () { }
 
45
        
 
46
        virtual Type::Kind GetObjectType ()  { return Type::ASSEMBLYPART_COLLECTION; }
 
47
        virtual Type::Kind GetElementType () { return Type::ASSEMBLYPART; }
 
48
};
 
49
 
 
50
/* @SilverlightVersion="2" */
 
51
/* @Namespace=System.Windows */
 
52
class Deployment : public DependencyObject {
 
53
 protected:
 
54
        virtual ~Deployment () {}
 
55
        
 
56
 public:
 
57
        /* @PropertyType=CrossDomainAccess,DefaultValue=CrossDomainAccessNoAccess,ManagedSetterAccess=Internal */
 
58
        static DependencyProperty *ExternalCallersFromCrossDomainProperty;
 
59
        /* @PropertyType=string,ManagedSetterAccess=Internal */
 
60
        static DependencyProperty *EntryPointAssemblyProperty;
 
61
        /* @PropertyType=string,ManagedSetterAccess=Internal */
 
62
        static DependencyProperty *EntryPointTypeProperty;
 
63
        /* @PropertyType=AssemblyPartCollection,ManagedSetterAccess=Internal */
 
64
        static DependencyProperty *PartsProperty;
 
65
        /* @PropertyType=string,ManagedSetterAccess=Internal */
 
66
        static DependencyProperty *RuntimeVersionProperty;
 
67
        
 
68
        /* @GenerateCBinding,GeneratePInvoke */
 
69
        Deployment () { }
 
70
        
 
71
        virtual Type::Kind GetObjectType () { return Type::DEPLOYMENT; } 
 
72
};
 
73
 
 
74
 
 
75
/* @SilverlightVersion="2" */
 
76
/* @Namespace=System.Windows */
 
77
/* @ManagedName=ApplicationInternal */
 
78
class Application : public DependencyObject {
 
79
 protected:
 
80
        virtual ~Application () {}
 
81
        
 
82
 public:
 
83
        /* @PropertyType=ResourceDictionary */
 
84
        static DependencyProperty *ResourcesProperty;
 
85
        
 
86
        /* @GenerateCBinding,GeneratePInvoke */
 
87
        Application () { }
 
88
        
 
89
        virtual Type::Kind GetObjectType () { return Type::APPLICATION; }
 
90
};
 
91
 
 
92
#endif /* __DEPLOYMENT_H__ */