summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/session/SessionI.h
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-04-19 07:22:26 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-04-19 07:22:26 +0000
commit21d4f05364a1bd09eabc075a3bffdbae4d0b92b5 (patch)
tree5d9664798d26581ddc3e47ed6224ee877dca2e90 /cpp/demo/Ice/session/SessionI.h
parentAdded missing lock. (diff)
downloadice-21d4f05364a1bd09eabc075a3bffdbae4d0b92b5.tar.bz2
ice-21d4f05364a1bd09eabc075a3bffdbae4d0b92b5.tar.xz
ice-21d4f05364a1bd09eabc075a3bffdbae4d0b92b5.zip
addressed few more concerns.
Diffstat (limited to 'cpp/demo/Ice/session/SessionI.h')
-rwxr-xr-xcpp/demo/Ice/session/SessionI.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/cpp/demo/Ice/session/SessionI.h b/cpp/demo/Ice/session/SessionI.h
index df2321460b8..7988e46078d 100755
--- a/cpp/demo/Ice/session/SessionI.h
+++ b/cpp/demo/Ice/session/SessionI.h
@@ -13,16 +13,11 @@
#include <Session.h>
#include <list>
-// XXX Get rid of leading ::, i.e., use Demo::, not ::Demo::
-// (everywhere).
-// Style: The other demos all use ::Demo::
-// XXX All other demos should be changed then. We don't use leading :: if they are not necessary.
-
-class SessionI : public ::Demo::Session, public IceUtil::Mutex
+class SessionI : public Demo::Session, public IceUtil::Mutex
{
public:
- virtual ::Demo::HelloPrx createHello(const Ice::Current&);
+ virtual Demo::HelloPrx createHello(const Ice::Current&);
virtual void refresh(const Ice::Current&);
virtual void destroy(const Ice::Current&);
@@ -39,7 +34,7 @@ private:
IceUtil::Time _timestamp; // The last time the session was refreshed.
int _nextId; // The id of the next hello object. This is used for tracing purposes.
- std::list< ::Demo::HelloPrx> _objs; // List of per-client allocated Hello objects.
+ std::list< Demo::HelloPrx> _objs; // List of per-client allocated Hello objects.
bool _destroy;
};