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.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/core/info.h b/src/core/info.h
index 8822f2f..4b9c445 100644
--- a/src/core/info.h
+++ b/src/core/info.h
@@ -64,13 +64,7 @@ public:
* @brief create a new server-side information card
* This constructor assigns an id
*/
- Info(const InfoType *type);
-
- /**
- * @brief create a new client-side information card
- * This constructor doesn not assign an id
- */
- Info(const InfoType *type, const std::string & label);
+ Info(const InfoType *type, const char *label = 0);
/**
* @brief create a new client-side information card
@@ -102,6 +96,13 @@ public:
return info_price;
}
+ /**
+ * @brief timestamp
+ * The timestamp is used client-side, a non-zero value
+ * indicates the time when the info was last requested.
+ * If the info has been received from the server, the timestamp
+ * is set to 0
+ */
inline const unsigned long &timestamp() const {
return info_timestamp;
}