diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-06-06 18:31:39 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-06-06 18:31:39 +0200 |
commit | d2f6fad0a043e60ed450cf17cbdd85341cfcc6ba (patch) | |
tree | 3a5711cfe1b206f26d000a6630c721c9608e850d /cppe/src/IceE/TraceLevels.cpp | |
parent | Bug 3014 - isAbsolute incorrect (diff) | |
download | ice-d2f6fad0a043e60ed450cf17cbdd85341cfcc6ba.tar.bz2 ice-d2f6fad0a043e60ed450cf17cbdd85341cfcc6ba.tar.xz ice-d2f6fad0a043e60ed450cf17cbdd85341cfcc6ba.zip |
Removed SL and IceE code
Diffstat (limited to 'cppe/src/IceE/TraceLevels.cpp')
-rw-r--r-- | cppe/src/IceE/TraceLevels.cpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/cppe/src/IceE/TraceLevels.cpp b/cppe/src/IceE/TraceLevels.cpp deleted file mode 100644 index d6f8ad03205..00000000000 --- a/cppe/src/IceE/TraceLevels.cpp +++ /dev/null @@ -1,34 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved. -// -// This copy of Ice-E is licensed to you under the terms described in the -// ICEE_LICENSE file included in this distribution. -// -// ********************************************************************** - -#include <IceE/TraceLevels.h> -#include <IceE/Properties.h> - -using namespace std; -using namespace Ice; -using namespace IceInternal; - -IceUtil::Shared* IceInternal::upCast(TraceLevels* p) { return p; } - -IceInternal::TraceLevels::TraceLevels(const PropertiesPtr& properties) : - network(0), - networkCat("Network"), - protocol(0), - protocolCat("Protocol"), - retry(0), - retryCat("Retry"), - location(0), - locationCat("Locator") -{ - const string keyBase = "Ice.Trace."; - const_cast<int&>(network) = properties->getPropertyAsInt(keyBase + networkCat); - const_cast<int&>(protocol) = properties->getPropertyAsInt(keyBase + protocolCat); - const_cast<int&>(retry) = properties->getPropertyAsInt(keyBase + retryCat); - const_cast<int&>(location) = properties->getPropertyAsInt(keyBase + locationCat); -} |