Merge pull request #3321 from BrzVlad/fix-block-state-membar
[mono.git] / mcs / class / Microsoft.Build.Tasks / Microsoft.Build.Tasks.Hosting / IVbcHostObject.cs
1 //
2 // IVbcHostObject.cs: Host object interface for VB.NET compiler.
3 //
4 // Author:
5 //   Marek Sieradzki (marek.sieradzki@gmail.com)
6 //
7 // (C) 2005 Marek Sieradzki
8 //
9 // Permission is hereby granted, free of charge, to any person obtaining
10 // a copy of this software and associated documentation files (the
11 // "Software"), to deal in the Software without restriction, including
12 // without limitation the rights to use, copy, modify, merge, publish,
13 // distribute, sublicense, and/or sell copies of the Software, and to
14 // permit persons to whom the Software is furnished to do so, subject to
15 // the following conditions:
16 //
17 // The above copyright notice and this permission notice shall be
18 // included in all copies or substantial portions of the Software.
19 //
20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
24 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
25 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27
28
29 using Microsoft.Build.Framework;
30 using System;
31 using System.Runtime.InteropServices;
32
33 namespace Microsoft.Build.Tasks.Hosting {
34
35         [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
36         [Guid ("7D7AC3BE-253A-40e8-A3FF-357D0DA7C47A")]
37         [ComVisible (true)]
38         public interface IVbcHostObject : ITaskHost {
39                 void BeginInitialization ();
40                 
41                 bool Compile ();
42                 
43                 void EndInitialization ();
44                 
45                 bool IsDesignTime ();
46                 
47                 bool IsUpToDate ();
48                 
49                 bool SetAdditionalLibPaths (string[] additionalLibPaths);
50                 
51                 bool SetAddModules (string[] addModules);
52                 
53                 bool SetBaseAddress (string targetType, string baseAddress);
54                 
55                 bool SetCodePage (int codePage);
56                 
57                 bool SetDebugType (bool emitDebugInformation, string debugType);
58                 
59                 bool SetDefineConstants (string defineConstants);
60                 
61                 bool SetDelaySign (bool delaySign);
62                 
63                 bool SetDisabledWarnings (string disabledWarnings);
64                 
65                 bool SetDocumentationFile (string documentationFile);
66                 
67                 bool SetErrorReport (string errorReport);
68                 
69                 bool SetFileAlignment (int fileAlignment);
70                 
71                 bool SetGenerateDocumentation (bool generateDocumentation);
72                 
73                 bool SetImports (ITaskItem[] importsList);
74                 
75                 bool SetKeyContainer (string keyContainer);
76                 
77                 bool SetKeyFile (string keyFile);
78                 
79                 bool SetLinkResources (ITaskItem[] linkResources);
80                 
81                 bool SetMainEntryPoint (string mainEntryPoint);
82                 
83                 bool SetNoConfig (bool noConfig);
84                 
85                 bool SetNoStandardLib (bool noStandardLib);
86                 
87                 bool SetNoWarnings (bool noWarnings);
88                 
89                 bool SetOptimize (bool optimize);
90                 
91                 bool SetOptionCompare (string optionCompare);
92                 
93                 bool SetOptionExplicit (bool optionExplicit);
94                 
95                 bool SetOptionStrict (bool optionStrict);
96                 
97                 bool SetOptionStrictType (string optionStrictType);
98                 
99                 bool SetOutputAssembly (string outputAssembly);
100                 
101                 bool SetPlatform (string platform);
102                 
103                 bool SetReferences (ITaskItem[] references);
104                 
105                 bool SetRemoveIntegerChecks (bool removeIntegerChecks);
106                 
107                 bool SetResources (ITaskItem[] resources);
108                 
109                 bool SetResponseFiles (ITaskItem[] responseFiles);
110                 
111                 bool SetRootNamespace (string rootNamespace);
112                 
113                 bool SetSdkPath (string sdkPath);
114                 
115                 bool SetSources (ITaskItem[] sources);
116                 
117                 bool SetTargetCompactFramework (bool targetCompactFramework);
118                 
119                 bool SetTargetType (string targetType);
120                 
121                 bool SetTreatWarningsAsErrors (bool treatWarningsAsErrors);
122                 
123                 bool SetWarningsAsErrors (string warningsAsErrors);
124                 
125                 bool SetWarningsNotAsErrors (string warningsNotAsErrors);
126                 
127                 bool SetWin32Icon (string win32Icon);
128                 
129                 bool SetWin32Resource (string win32Resource);
130         }
131 }
132