Cosmos/source/MatthijsTest/Program.cs
2008-05-12 15:39:09 +00:00

52 lines
No EOL
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
using Cosmos.Build.Windows;
using System.Collections;
namespace MatthijsTest
{
public class Program
{
#region Cosmos Builder logic
// Most users wont touch this. This will call the Cosmos Build tool
[STAThread]
private static void Main(string[] args)
{
BuildUI.Run();
}
#endregion
public static void GetResumeAndResume(ref uint aSuspend)
{
aSuspend = 0;
throw new NotImplementedException();
}
public static int GetValue() {
return 5; }
public static void Init()
{
Console.Clear();
Console.WriteLine("Kernel started!");
int xTest = 987;
IntPtr xPtr = (IntPtr)xTest;
xTest = (int)xPtr;
Console.Write("Value: ");
Console.Write(xTest.ToString());
Console.WriteLine();
}
}
public interface ITest {
void DoMessage();}
public class TestImpl : ITest {
public void DoMessage() {
Console.WriteLine("Message from interface member");
}
}
}