00001 // Filename: testCopy.h 00002 // Created by: drose (31Oct00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef TESTCOPY_H 00016 #define TESTCOPY_H 00017 00018 #include "pandatoolbase.h" 00019 00020 #include "cvsCopy.h" 00021 00022 //////////////////////////////////////////////////////////////////// 00023 // Class : TestCopy 00024 // Description : A program to copy ordinary files into the cvs tree. 00025 // Mainly to test CVSCopy. 00026 //////////////////////////////////////////////////////////////////// 00027 class TestCopy : public CVSCopy { 00028 public: 00029 TestCopy(); 00030 00031 void run(); 00032 00033 protected: 00034 virtual bool copy_file(const Filename &source, const Filename &dest, 00035 CVSSourceDirectory *dir, void *extra_data, 00036 bool new_file); 00037 }; 00038 00039 #endif