00001 #ifndef VERSION_STAMPER_CLASS 00002 #define VERSION_STAMPER_CLASS 00003 00004 /*****************************************************************************\ 00005 * * 00006 * Name : version_stamper * 00007 * Author : Chris Koeritz * 00008 * * 00009 * Purpose: * 00010 * * 00011 * This class creates a resource (.rc) file and a C++ header (.h) file * 00012 * when given the directory where a version information file (version.ini) * 00013 * resides. It creates the files in that directory. * 00014 * * 00015 ******************************************************************************* 00016 * Copyright (c) 1995-$now By Author. This program is free software; you can * 00017 * redistribute it and/or modify it under the terms of the GNU General Public * 00018 * License as published by the Free Software Foundation; either version 2 of * 00019 * the License or (at your option) any later version. This is online at: * 00020 * http://www.fsf.org/copyleft/gpl.html * 00021 * Please send any updates to: fred@gruntose.com * 00022 \*****************************************************************************/ 00023 00024 #include <basis/istring.h> 00025 #include <opsystem/application_shell.h> 00026 00027 class version_stamper : public application_shell 00028 { 00029 public: 00030 version_stamper(); 00031 ~version_stamper(); 00032 00033 IMPLEMENT_CLASS_NAME("version_stamper"); 00034 00035 int execute(); 00036 // performs the main action of creating resource and code files. 00037 }; 00038 00039 #endif 00040
1.5.1