downloadertools: remove show_ddb

This commit is contained in:
rdb 2019-09-06 11:46:09 +02:00
parent 8b8796e9df
commit 13e91135e5
3 changed files with 0 additions and 38 deletions

View File

@ -4631,11 +4631,6 @@ if (PkgSkip("OPENSSL")==0 and not RTDIST and not RUNTIME and PkgSkip("DEPLOYTOOL
TargetAdd('pencrypt.exe', input=COMMON_PANDA_LIBS)
TargetAdd('pencrypt.exe', opts=OPTS)
TargetAdd('show_ddb_show_ddb.obj', opts=OPTS, input='show_ddb.cxx')
TargetAdd('show_ddb.exe', input=['show_ddb_show_ddb.obj'])
TargetAdd('show_ddb.exe', input=COMMON_PANDA_LIBS)
TargetAdd('show_ddb.exe', opts=OPTS)
#
# DIRECTORY: panda/src/downloadertools/
#

View File

@ -2079,7 +2079,6 @@
<File RelativePath="..\panda\src\pnmimagetypes\colrops.c"></File>
</Filter>
<Filter Name="downloadertools">
<File RelativePath="..\panda\src\downloadertools\show_ddb.cxx"></File>
<File RelativePath="..\panda\src\downloadertools\pencrypt.cxx"></File>
<File RelativePath="..\panda\src\downloadertools\check_adler.cxx"></File>
<File RelativePath="..\panda\src\downloadertools\pdecrypt.cxx"></File>

View File

@ -1,32 +0,0 @@
/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file show_ddb.cxx
* @author drose
* @date 2002-11-02
*/
#include "pandabase.h"
#include "downloadDb.h"
#include "filename.h"
int
main(int argc, char *argv[]) {
if (argc != 3) {
std::cerr << "Usage: show_ddb server.ddb client.ddb\n";
return 1;
}
Filename server_ddb = Filename::from_os_specific(argv[1]);
Filename client_ddb = Filename::from_os_specific(argv[2]);
DownloadDb db(server_ddb, client_ddb);
db.write(std::cout);
return 0;
}