From 9df963c9cd69b499fef82fd91ef45fa4a4b86a6c Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Wed, 26 Sep 2012 08:58:12 -0400 Subject: Convert makelist to C++ --- makelist.hpp | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 makelist.hpp (limited to 'makelist.hpp') diff --git a/makelist.hpp b/makelist.hpp new file mode 100644 index 000000000..6a3f6180e --- /dev/null +++ b/makelist.hpp @@ -0,0 +1,40 @@ +/* This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA. + * + * The code was written from scratch by Dees_Troy dees_troy at + * yahoo + * + * Copyright (c) 2012 +*/ +#ifndef _MAKELIST_HEADER +#define _MAKELIST_HEADER + +#include + +using namespace std; + +// Partition class +class MakeList +{ +public: + static int Make_File_List(string Path); + +private: + static int Add_Item(string Item_Name); + static int Generate_File_Lists(string Path); + +}; + +#endif // _MAKELIST_HEADER + -- cgit v1.2.3