diff options
author | Marc Laukien <marc@zeroc.com> | 2002-04-15 19:12:57 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-04-15 19:12:57 +0000 |
commit | 5f30d7093499c65b10a8458cf68cf9a585262236 (patch) | |
tree | b6ae5af4b1ac7ba89c383bdfd3cb8486fd44e737 /cpp/src/IcePatch/FileDescFactory.cpp | |
parent | Added PrivateKeyException to the addKeyCert methods to ensure that the (diff) | |
download | ice-5f30d7093499c65b10a8458cf68cf9a585262236.tar.bz2 ice-5f30d7093499c65b10a8458cf68cf9a585262236.tar.xz ice-5f30d7093499c65b10a8458cf68cf9a585262236.zip |
added pw check to glacier
Diffstat (limited to 'cpp/src/IcePatch/FileDescFactory.cpp')
-rw-r--r-- | cpp/src/IcePatch/FileDescFactory.cpp | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/cpp/src/IcePatch/FileDescFactory.cpp b/cpp/src/IcePatch/FileDescFactory.cpp index 4b7c9fc442e..76044fd700d 100644 --- a/cpp/src/IcePatch/FileDescFactory.cpp +++ b/cpp/src/IcePatch/FileDescFactory.cpp @@ -1,38 +1,38 @@ -// **********************************************************************
-//
-// Copyright (c) 2002
-// MutableRealms, Inc.
-// Huntsville, AL, USA
-//
-// All Rights Reserved
-//
-// **********************************************************************
-
-#include <IcePatch/FileDescFactory.h>
-
-using namespace std;
-using namespace Ice;
-using namespace IcePatch;
-
-ObjectPtr
-IcePatch::FileDescFactory::create(const std::string& type)
-{
- if (type == "::IcePatch::DirectoryDesc")
- {
- return new DirectoryDesc;
- }
-
- if (type == "::IcePatch::RegularDesc")
- {
- return new RegularDesc;
- }
-
- assert(false);
- return 0; // To keep the compiler from complaining.
-}
-
-void
-IcePatch::FileDescFactory::destroy()
-{
- // Nothing to do.
-}
+// ********************************************************************** +// +// Copyright (c) 2002 +// MutableRealms, Inc. +// Huntsville, AL, USA +// +// All Rights Reserved +// +// ********************************************************************** + +#include <IcePatch/FileDescFactory.h> + +using namespace std; +using namespace Ice; +using namespace IcePatch; + +ObjectPtr +IcePatch::FileDescFactory::create(const std::string& type) +{ + if (type == "::IcePatch::DirectoryDesc") + { + return new DirectoryDesc; + } + + if (type == "::IcePatch::RegularDesc") + { + return new RegularDesc; + } + + assert(false); + return 0; // To keep the compiler from complaining. +} + +void +IcePatch::FileDescFactory::destroy() +{ + // Nothing to do. +} |