Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/info.h')
-rw-r--r--src/core/info.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/info.h b/src/core/info.h
index 678c48d..1bc62a9 100644
--- a/src/core/info.h
+++ b/src/core/info.h
@@ -92,6 +92,9 @@ public:
/// list the info registry
static void list();
+ /// the info registry
+ static inline Registry & registry() { return info_registry; }
+
private:
std::string info_label;
std::string info_name;
@@ -99,7 +102,7 @@ private:
Text info_text;
long info_credits;
- static Registry registry;
+ static Registry info_registry;
unsigned long info_timestamp;
};