summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/SslSystem.h
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-01-14 21:31:03 +0000
committerMarc Laukien <marc@zeroc.com>2002-01-14 21:31:03 +0000
commit10a05710b876c4c04072224a62d25a974245d17e (patch)
treedcd281feb54d0e72223697e4120ebb69b9a14511 /cpp/src/Ice/SslSystem.h
parentglacier intergration (diff)
downloadice-10a05710b876c4c04072224a62d25a974245d17e.tar.bz2
ice-10a05710b876c4c04072224a62d25a974245d17e.tar.xz
ice-10a05710b876c4c04072224a62d25a974245d17e.zip
glacier integration
Diffstat (limited to 'cpp/src/Ice/SslSystem.h')
-rw-r--r--cpp/src/Ice/SslSystem.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/cpp/src/Ice/SslSystem.h b/cpp/src/Ice/SslSystem.h
index ed73f5de9f6..d464aea4db2 100644
--- a/cpp/src/Ice/SslSystem.h
+++ b/cpp/src/Ice/SslSystem.h
@@ -8,7 +8,6 @@
//
// **********************************************************************
-
#ifndef ICE_SSL_SYSTEM_H
#define ICE_SSL_SYSTEM_H
@@ -28,13 +27,14 @@ using Ice::PropertiesPtr;
class Factory;
-// TODO: Can we derive this from Shared? How hard would that be?
+// TODO: Can we derive this from Shared? How hard would that be?
+// TODO: <ml>Absolutely. Please do not add yet another reference counting mechanism.</ml>
class System
{
-
public:
- inline string getSystemID() const { return _systemID; };
+
+ string getSystemID() const { return _systemID; };
virtual bool isConfigLoaded() = 0;
virtual void loadConfig() = 0;
@@ -58,8 +58,9 @@ protected:
virtual ~System();
// Reference counting.
- inline void incRef() { _refCount++; };
- inline bool decRef() { return (--_refCount ? true : false); };
+ // TODO: Remove this, use IceUtil::Shared or Ice::Shared.
+ void incRef() { _refCount++; };
+ bool decRef() { return (--_refCount ? true : false); };
string _systemID;
int _refCount;
@@ -67,9 +68,8 @@ protected:
TraceLevelsPtr _traceLevels;
LoggerPtr _logger;
PropertiesPtr _properties;
-
-friend class Factory;
-
+
+ friend class Factory;
};
}