diff options
author | Max Horn | 2006-05-04 22:52:18 +0000 |
---|---|---|
committer | Max Horn | 2006-05-04 22:52:18 +0000 |
commit | 6321cfc874ee95b9b2471783a18f4173fb60ab78 (patch) | |
tree | d656ceb19a97ef038c61390e316aa6d50e63c6dc /backends/dc | |
parent | c319e972467beb3b824af01bc707ea225c38572e (diff) | |
download | scummvm-rg350-6321cfc874ee95b9b2471783a18f4173fb60ab78.tar.gz scummvm-rg350-6321cfc874ee95b9b2471783a18f4173fb60ab78.tar.bz2 scummvm-rg350-6321cfc874ee95b9b2471783a18f4173fb60ab78.zip |
Turned the last remaining few GameDetector methods into static methods
svn-id: r22344
Diffstat (limited to 'backends/dc')
-rw-r--r-- | backends/dc/DCLauncherDialog.h | 5 | ||||
-rw-r--r-- | backends/dc/dcmain.cpp | 2 | ||||
-rw-r--r-- | backends/dc/selector.cpp | 1 |
3 files changed, 2 insertions, 6 deletions
diff --git a/backends/dc/DCLauncherDialog.h b/backends/dc/DCLauncherDialog.h index aa35ff90fe..7dffcaa576 100644 --- a/backends/dc/DCLauncherDialog.h +++ b/backends/dc/DCLauncherDialog.h @@ -22,11 +22,8 @@ */ class DCLauncherDialog { - private: - GameDetector &_detector; - public: - DCLauncherDialog(GameDetector &d) : _detector(d) {} + DCLauncherDialog() {} int runModal(); }; diff --git a/backends/dc/dcmain.cpp b/backends/dc/dcmain.cpp index 1d82deb46d..67081533b3 100644 --- a/backends/dc/dcmain.cpp +++ b/backends/dc/dcmain.cpp @@ -224,7 +224,7 @@ int DCLauncherDialog::runModal() ConfMan.set("path", dir, base); // Set the target. - _detector.setTarget(base); + GameDetector::setTarget(base); return 0; } diff --git a/backends/dc/selector.cpp b/backends/dc/selector.cpp index bd9086431d..ade5cb9fc4 100644 --- a/backends/dc/selector.cpp +++ b/backends/dc/selector.cpp @@ -24,7 +24,6 @@ #include <common/stdafx.h> #include <common/scummsys.h> #include <base/engine.h> -#include <base/gameDetector.h> #include <base/plugins.h> #include <backends/fs/fs.h> #include "dc.h" |