remove svn:executable from .cs files
[mono.git] / mcs / class / Microsoft.Vsa / Microsoft.Vsa / IVsaEngine.cs
1 //
2 // IVsaEngine.cs:
3 //
4 // Author: Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
5 //
6
7 //
8 // Permission is hereby granted, free of charge, to any person obtaining
9 // a copy of this software and associated documentation files (the
10 // "Software"), to deal in the Software without restriction, including
11 // without limitation the rights to use, copy, modify, merge, publish,
12 // distribute, sublicense, and/or sell copies of the Software, and to
13 // permit persons to whom the Software is furnished to do so, subject to
14 // the following conditions:
15 // 
16 // The above copyright notice and this permission notice shall be
17 // included in all copies or substantial portions of the Software.
18 // 
19 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
22 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
23 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
24 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
25 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26 //
27
28 namespace Microsoft.Vsa
29 {
30         using System;
31         using System.Runtime.InteropServices;
32         using System.Reflection;
33         using System.Security.Policy;
34
35         //[Guid ("")]
36         [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
37         public interface IVsaEngine
38         {
39                 //[Guid ("")]
40                 Assembly Assembly {
41                         get;
42                 }
43
44
45                 //[Guid ("")]
46                 Evidence Evidence {
47                         get;
48                         set;
49                 }
50
51
52                 //[Guid ("")]
53                 bool GenerateDebugInfo {
54                         get;
55                         set;
56                 }
57
58
59                 //[Guid ("")]
60                 bool IsCompiled {
61                         get;
62                 }
63
64
65                 //[Guid ("")]
66                 bool IsDirty {
67                         get;
68                 }
69
70
71                 //[Guid ("")]
72                 bool IsRunning {
73                         get;
74                 }
75
76
77                 //[Guid ("")]
78                 IVsaItems Items {
79                         get;
80                 }
81
82
83                 //[Guid ("")]
84                 string Language {
85                         get;
86                 }
87
88         
89                 //[Guid ("")]
90                 int LCID {
91                         get;
92                         set;    
93                 }
94
95
96                 //[Guid ("")]
97                 string Name {
98                         get;
99                         set;
100                 }
101
102
103                 //[Guid ("")]
104                 string RootMoniker {
105                         get;
106                         set;
107                 }
108
109
110                 //[Guid ("")]
111                 string RootNamespace {
112                         get;
113                         set;
114                 }
115
116
117                 //[Guid ("")]
118                 IVsaSite Site {
119                         get;
120                         set;
121                 }
122
123
124                 //[Guid ("")]
125                 string Version {
126                         get;
127                 }
128                         
129
130
131                 // public methods
132
133                 //[Guid ("")]
134                 void Close ();
135
136                 
137                 //[Guid ("")]
138                 bool Compile ();
139
140
141                 //[Guid ("")]
142                 object GetOption (string name);
143
144
145                 //[Guid ("")]
146                 void InitNew ();
147
148
149                 //[Guid ("")]
150                 bool IsValidIdentifier (string identifier);
151
152         
153                 //[Guid ("")]
154                 void LoadSourceState (IVsaPersistSite site);
155
156
157                 //[Guid ("")]
158                 void Reset ();
159
160                 
161                 //[Guid ("")]
162                 void RevokeCache ();
163
164
165                 //[Guid ("")]
166                 void Run ();
167
168                 
169                 //[Guid ("")]
170                 void SaveCompiledState (out byte [] pe, out byte [] pdb);
171
172
173                 //[Guid ("")]
174                 void SaveSourceState (IVsaPersistSite site);
175
176
177                 //[Guid ("")]
178                 void SetOption (string name, object value);
179         }
180 }
181