summaryrefslogtreecommitdiff
path: root/room.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
commitca28c0e618890330d429c0dc12429255b20f0c90 (patch)
treeecc02da0184cf4e8bdba94dcdd831abdd1e51b3c /room.h
parentb3a99e6e15af3be25394e66d1138bb2682f565c3 (diff)
tagging ychat-0.5.0ychat-0.5.0
Diffstat (limited to 'room.h')
-rwxr-xr-xroom.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/room.h b/room.h
index 25e94c7..f351b9a 100755
--- a/room.h
+++ b/room.h
@@ -13,22 +13,22 @@ using namespace std;
class room : public base<user>, public name
{
private:
-
+
public:
- void add_user( user* p_user )
- {
- p_user->set_p_room( this );
- add_elem( p_user );
- }
-
- user* get_user( string &s_name, bool &b_found )
- {
- return static_cast<user*>( get_elem( s_name, b_found ) );
- }
-
- // public methods:
- explicit room( string s_name ); // a constructor.
- ~room(); // room destructor.
+ void add_user( user* p_user )
+ {
+ p_user->set_p_room( this );
+ add_elem( p_user );
+ }
+
+ user* get_user( string &s_name, bool &b_found )
+ {
+ return static_cast<user*>( get_elem( s_name, b_found ) );
+ }
+
+ // public methods:
+ explicit room( string s_name ); // a constructor.
+ ~room(); // room destructor.
};
#endif