summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/FileDescFactory.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2005-01-15 00:14:38 +0000
committerMichi Henning <michi@zeroc.com>2005-01-15 00:14:38 +0000
commitc7392e0fb4b6143909cd3bf598958636847863ec (patch)
treea7953abe859329bafa48e7b66fec2c50065c0044 /cpp/src/IcePatch/FileDescFactory.cpp
parentAdded IcePatch2 doc. Removed Glacier and IcePatch doc. (diff)
downloadice-c7392e0fb4b6143909cd3bf598958636847863ec.tar.bz2
ice-c7392e0fb4b6143909cd3bf598958636847863ec.tar.xz
ice-c7392e0fb4b6143909cd3bf598958636847863ec.zip
Removed IcePatch from source tree.
Diffstat (limited to 'cpp/src/IcePatch/FileDescFactory.cpp')
-rw-r--r--cpp/src/IcePatch/FileDescFactory.cpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/cpp/src/IcePatch/FileDescFactory.cpp b/cpp/src/IcePatch/FileDescFactory.cpp
deleted file mode 100644
index c43de4176f2..00000000000
--- a/cpp/src/IcePatch/FileDescFactory.cpp
+++ /dev/null
@@ -1,37 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2004 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice is licensed to you under the terms described in the
-// ICE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-#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.
-}