示例#1
0
        public static void RegisterVFS(VFSBase aVFS)
        {
            Cosmos.System.Global.Dbg.Send("VFSManager.RegisterVFS");
            if (mVFS != null)
            {
                throw new Exception("Virtual File System Manager already initialized!");
            }

            aVFS.Initialize();
            mVFS = aVFS;
        }
示例#2
0
        public static void RegisterVFS(VFSBase aVFS)
        {
            Cosmos.System.Global.Dbg.Send("VFSManager.RegisterVFS");
            if (mVFS != null)
            {
                throw new Exception("Virtual File System Manager already initialized!");
            }

            aVFS.Initialize();
            mVFS = aVFS;
        }
示例#3
0
 protected override void BeforeRun()
 {
     Console.WriteLine("Cosmos booted successfully.");
     myVFS = new SentinelVFS();
     VFSManager.RegisterVFS(myVFS);
 }