[mapguide-commits] r9442 - sandbox/jng/deprecate_dwf/Server/src/Services/Resource
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Sun Jan 6 00:19:46 PST 2019
Author: jng
Date: 2019-01-06 00:19:46 -0800 (Sun, 06 Jan 2019)
New Revision: 9442
Removed:
sandbox/jng/deprecate_dwf/Server/src/Services/Resource/ZipFileHandler.cpp
sandbox/jng/deprecate_dwf/Server/src/Services/Resource/ZipFileHandler.h
Log:
Remove ZipFileHandler as switching to minizip means there is no longer a common base for MgZipFileReader/MgZipFileWriter to inherit from.
Deleted: sandbox/jng/deprecate_dwf/Server/src/Services/Resource/ZipFileHandler.cpp
===================================================================
--- sandbox/jng/deprecate_dwf/Server/src/Services/Resource/ZipFileHandler.cpp 2019-01-06 08:14:40 UTC (rev 9441)
+++ sandbox/jng/deprecate_dwf/Server/src/Services/Resource/ZipFileHandler.cpp 2019-01-06 08:19:46 UTC (rev 9442)
@@ -1,46 +0,0 @@
-//
-// Copyright (C) 2004-2011 by Autodesk, Inc.
-//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of version 2.1 of the GNU Lesser
-// General Public License as published by the Free Software Foundation.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-//
-
-#include "ResourceServiceDefs.h"
-#include "ZipFileHandler.h"
-
-///////////////////////////////////////////////////////////////////////////////
-/// \brief
-/// Constructs the object.
-///
-MgZipFileHandler::MgZipFileHandler(CREFSTRING filePath, MgZipFileMode fileMode)
-{
- ACE_ASSERT(!filePath.empty());
- /*
- MG_RESOURCE_SERVICE_TRY()
-
- DWFFile zipFile(filePath.c_str());
-
- m_zipFileDescriptor.reset(new DWFZipFileDescriptor(zipFile, fileMode));
- m_zipFileDescriptor->open();
-
- MG_RESOURCE_SERVICE_CATCH_AND_THROW(L"MgZipFileHandler.MgZipFileHandler")
- */
-}
-
-///////////////////////////////////////////////////////////////////////////////
-/// \brief
-/// Destructs the object.
-///
-MgZipFileHandler::~MgZipFileHandler()
-{
-}
Deleted: sandbox/jng/deprecate_dwf/Server/src/Services/Resource/ZipFileHandler.h
===================================================================
--- sandbox/jng/deprecate_dwf/Server/src/Services/Resource/ZipFileHandler.h 2019-01-06 08:14:40 UTC (rev 9441)
+++ sandbox/jng/deprecate_dwf/Server/src/Services/Resource/ZipFileHandler.h 2019-01-06 08:19:46 UTC (rev 9442)
@@ -1,57 +0,0 @@
-//
-// Copyright (C) 2004-2011 by Autodesk, Inc.
-//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of version 2.1 of the GNU Lesser
-// General Public License as published by the Free Software Foundation.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-//
-
-#ifndef MGZIPFILEHANDLER_H_
-#define MGZIPFILEHANDLER_H_
-
-enum MgZipFileMode
-{
- Read,
- Write
-};
-
-class MgZipFileHandler
-{
-/// Constructors/Destructor
-
-public:
-
- MgZipFileHandler(CREFSTRING filePath, MgZipFileMode fileMode);
- virtual ~MgZipFileHandler();
-
-private:
-
- // Unimplemented Constructors/Methods
-
- MgZipFileHandler();
- MgZipFileHandler(const MgZipFileHandler&);
- MgZipFileHandler& operator=(const MgZipFileHandler&);
-
-/// Methods
-
-public:
-
-/// Data Members
-
-protected:
-
- //auto_ptr<DWFZipFileDescriptor> m_zipFileDescriptor;
-};
-
-/// Inline Methods
-
-#endif
More information about the mapguide-commits
mailing list