summaryrefslogtreecommitdiff
path: root/cont.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:48 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:48 +0200
commitd9c4a95345bd758e45196b29368bd2ff0f2790e3 (patch)
tree8e7aa76f3f2a3a064f440f7410e4ec01cd34a78f /cont.h
parentd4c9f10efe815af146438cafb694d16da0e5650a (diff)
tagging ychat-0.5.2ychat-0.5.2
Diffstat (limited to 'cont.h')
-rw-r--r--[-rwxr-xr-x]cont.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/cont.h b/cont.h
index 90cbd7b..ec97f63 100755..100644
--- a/cont.h
+++ b/cont.h
@@ -1,6 +1,6 @@
// class cont declaration. defines a simple data container class.
-#ifndef CONT_H
+#ifndef CONT_H
#define CONT_H
#include "incl.h"
@@ -8,19 +8,22 @@
using namespace std;
-class cont
+class cont
{
protected:
- map_string map_vals;
+ map_string map_vals;
public:
- cont::~cont();
+ cont::~cont();
- // small inline methods:
- void clear_vals() { map_vals.clear(); } // removes all values.
+ // small inline methods:
+ void clear_vals()
+ {
+ map_vals.clear();
+ } // removes all values.
- // public methods:
- virtual string get_val( string s_key ); // get a specific map_vals value.
+ // public methods:
+ virtual string get_val( string s_key ); // get a specific map_vals value.
};
#endif