* System.Design.dll.sources: added IOleDragClient
[mono.git] / mcs / class / System.Design / System.Windows.Forms.Design / AxImporter.cs
1 //
2 // System.Windows.Forms.Design.AxImporter.cs
3 //
4 // Author:
5 //   Dennis Hayes (dennish@raytek.com)
6 // (C) 2002 Ximian, Inc.  http://www.ximian.com
7 //
8
9 using System;
10 using System.IO;
11 using System.Reflection;
12 using System.Runtime.InteropServices;
13
14 namespace System.Windows.Forms.Design
15 {
16         [MonoTODO]
17         public class AxImporter
18         {
19                 #region Public Instance Constructors
20
21                 [MonoTODO]
22                 public AxImporter (AxImporter.Options options)
23                 {
24                         this.options = options;
25                 }
26
27                 #endregion Public Instance Constructors
28
29                 #region Public Instance Properties
30
31                 [MonoTODO]
32                 public string[] GeneratedAssemblies
33                 {
34                         get
35                         {
36                                 throw new NotImplementedException ();
37                         }
38                 }
39
40                 [MonoTODO]
41                 public string[] GeneratedSources
42                 {
43                         get
44                         {
45                                 throw new NotImplementedException ();
46                         }
47                 }
48
49                 #endregion Public Instance Properties
50
51                 #region Public Instance Methods
52
53                 [MonoTODO]
54                 public TYPELIBATTR[] GeneratedTypeLibAttributes
55                 {
56                         get
57                         {
58                                 throw new NotImplementedException ();
59                         }
60                 }
61
62                 [MonoTODO]
63                 public string GenerateFromFile (FileInfo file)
64                 {
65                         throw new NotImplementedException ();
66                 }
67
68                 [MonoTODO]
69                 public string GenerateFromTypeLibrary (UCOMITypeLib typeLib)
70                 {
71                         throw new NotImplementedException ();
72                 }
73
74                 [MonoTODO]
75                 public string GenerateFromTypeLibrary (UCOMITypeLib typeLib, Guid clsid)
76                 {
77                         throw new NotImplementedException ();
78                 }
79
80                 #endregion Public Instance Methods
81
82                 #region Public Static Methods
83
84                 [MonoTODO]
85                 public static string GetFileOfTypeLib (ref TYPELIBATTR tlibattr)
86                 {
87                         throw new NotImplementedException ();
88                 }
89
90                 #endregion Public Static Methods
91
92                 #region Internal Instance Fields
93
94                 internal AxImporter.Options options;
95
96                 #endregion Internal Instance Fields
97
98                 public sealed class Options
99                 {
100                         #region Public Instance Constructors
101
102                         public Options ()
103                         {
104                         }
105
106                         #endregion Public Instance Constructors
107
108                         #region Public Instance Fields
109
110                         public bool delaySign;
111                         public bool genSources;
112                         public string keyContainer;
113                         public string keyFile;
114                         public StrongNameKeyPair keyPair;
115
116                         public bool noLogo;
117                         public string outputDirectory;
118                         public string outputName;
119                         public bool overwriteRCW;
120                         public byte[] publicKey;
121                         public AxImporter.IReferenceResolver references;
122                         public bool silentMode;
123                         public bool verboseMode;
124
125                         #endregion Public Instance Fields
126                 }
127
128                 public interface IReferenceResolver
129                 {
130                         string ResolveActiveXReference (UCOMITypeLib typeLib);
131                         string ResolveComReference (AssemblyName name);
132                         string ResolveComReference (UCOMITypeLib typeLib);
133                         string ResolveManagedReference (string assemName);
134                 }
135         }
136 }