summaryrefslogtreecommitdiff
path: root/include/globals.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2013-12-07 13:12:25 -0800
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2013-12-07 13:12:25 -0800
commit80c8a16fb145f7ed4867d31fad3c22318a1ce708 (patch)
treef7605cdb86d653efaac761363ed596dd6b2e0459 /include/globals.h
parent964d6274b0eba38df43d77b87c44bd728d2f0fb5 (diff)
replaces tabs in source code with regular spaces, added example for working with global variables
Diffstat (limited to 'include/globals.h')
-rw-r--r--include/globals.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/globals.h b/include/globals.h
index b3ee6c3..6faeb8a 100644
--- a/include/globals.h
+++ b/include/globals.h
@@ -1,11 +1,11 @@
/**
* Globals.h
*
- * Wrapper object that gives access to all global variables. You
+ * Wrapper object that gives access to all global variables. You
* can use it more or less the same as the $_GLOBALS object in
- * PHP.
+ * PHP.
*
- * The global PHP variables are acessible via the Php::globals["varname"]
+ * The global PHP variables are acessible via the Php::globals["varname"]
* variables.
*
* @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
@@ -87,16 +87,16 @@ private:
Globals() {}
public:
- /**
- * Get the one and only instance
- * @return Globals
- */
- static Globals &instance();
+ /**
+ * Get the one and only instance
+ * @return Globals
+ */
+ static Globals &instance();
};
/**
* We always have one instance
- * @var Globals
+ * @var Globals
*/
extern Globals &globals;