mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-02 18:25:30 +02:00
RetroFE constructor arguments set to pass by reference.
This commit is contained in:
@@ -12,7 +12,7 @@ class RetroFE;
|
||||
class Launcher
|
||||
{
|
||||
public:
|
||||
Launcher(RetroFE *p);
|
||||
Launcher(RetroFE &p, Configuration &c);
|
||||
bool Run(std::string collection, Item *collectionItem);
|
||||
|
||||
private:
|
||||
@@ -35,6 +35,6 @@ private:
|
||||
std::string itemDirectory,
|
||||
std::string itemCollectionName);
|
||||
|
||||
Configuration *Config;
|
||||
RetroFE *RetroFEInst;
|
||||
Configuration &Config;
|
||||
RetroFE &RetroFEInst;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user