diff --git a/LaunchAPPL/Server/AppLauncher.cc b/LaunchAPPL/Server/AppLauncher.cc index c593d11ad5..bd35d01926 100644 --- a/LaunchAPPL/Server/AppLauncher.cc +++ b/LaunchAPPL/Server/AppLauncher.cc @@ -4,32 +4,6 @@ #include #include -class AppLauncherSingle : public AppLauncher -{ -public: - virtual bool Launch(ConstStr255Param name) - { - LaunchParamBlockRec lpb; - memset(&lpb, 0, sizeof(lpb)); - - lpb.reserved1 = (unsigned long) name; - lpb.reserved2 = 0; - lpb.launchBlockID = extendedBlock; - lpb.launchEPBLength = 6; - lpb.launchFileFlags = 0; - lpb.launchControlFlags = 0xC000; - - LaunchApplication(&lpb); - - return false; - } - - virtual bool IsRunning(ConstStr255Param name) - { - return false; - } -}; - class AppLauncher7 : public AppLauncher { ProcessSerialNumber psn; @@ -62,7 +36,7 @@ public: } }; -class AppLauncherMultiFinder : public AppLauncher +class AppLauncher6 : public AppLauncher { public: virtual bool Launch(ConstStr255Param name) @@ -111,12 +85,6 @@ std::unique_ptr CreateAppLauncher() if(environ.systemVersion >= 0x0700) return std::make_unique(); else - { - uint32_t& Twitcher2 = *(uint32_t*) 0xB7C; - if(Twitcher2 == 0 || Twitcher2 == 0xFFFFFFFF) - return std::make_unique(); - else - return std::make_unique(); - } + return std::make_unique(); #endif }