RetroFE constructor arguments set to pass by reference.

This commit is contained in:
emb
2015-01-01 14:54:01 -06:00
parent 9a56630d46
commit 511c774ffc
13 changed files with 54 additions and 61 deletions

View File

@@ -18,7 +18,7 @@ class Configuration;
class PageBuilder
{
public:
PageBuilder(std::string layoutKey, std::string collection, Configuration *c, FontCache *fc);
PageBuilder(std::string layoutKey, std::string collection, Configuration &c, FontCache *fc);
virtual ~PageBuilder();
Page *BuildPage();
@@ -26,7 +26,7 @@ private:
std::string LayoutKey;
std::string LayoutPath;
std::string Collection;
Configuration *Config;
Configuration &Config;
float ScaleX;
float ScaleY;
int ScreenHeight;