Added BinaryVBFile.cs and RandomVBFile.cs. Just preliminary changes.
[mono.git] / mcs / class / Microsoft.VisualBasic / Microsoft.VisualBasic / Globals.cs
1 //
2 // Globals.cs
3 //
4 // Author:
5 //      Chris J Breisch (cjbreisch@altavista.net) 
6 //      Dennis Hayes (dennish@raytek.com)
7 //      
8 // (C) 2002 Chris J Breisch
9 // 
10 //
11  /*
12   * Copyright (c) 2002-2003 Mainsoft Corporation.
13   *
14   * Permission is hereby granted, free of charge, to any person obtaining a
15   * copy of this software and associated documentation files (the "Software"),
16   * to deal in the Software without restriction, including without limitation
17   * the rights to use, copy, modify, merge, publish, distribute, sublicense,
18   * and/or sell copies of the Software, and to permit persons to whom the
19   * Software is furnished to do so, subject to the following conditions:
20   * 
21   * The above copyright notice and this permission notice shall be included in
22   * all copies or substantial portions of the Software.
23   * 
24   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
29   * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
30   * DEALINGS IN THE SOFTWARE.
31   */
32
33 using System;
34
35 namespace Microsoft.VisualBasic {
36
37         [Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute]
38         sealed public class Globals     {
39                 
40                 // prevent public constructor
41                 private Globals ()
42                 {
43                 }
44
45                 public static string ScriptEngine 
46                 {
47                         get { return "VB"; }
48                 }
49
50                 public static int ScriptEngineMajorVersion 
51                 {
52                         get { return 7; }
53                 }
54
55                 public static int ScriptEngineMinorVersion 
56                 {
57                         get { return 0; }
58                 }
59
60                 public static int ScriptEngineBuildVersion
61                 {
62                         get { return 0; }
63                 }
64         }
65 }
66