Ejemplo n.º 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;
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 3
0
 protected override void BeforeRun()
 {
     Console.WriteLine("Cosmos booted successfully.");
     myVFS = new SentinelVFS();
     VFSManager.RegisterVFS(myVFS);
 }