/*************************************************************************** dateplugin.h - description ------------------- begin : Mon Feb 02 2004 copyright : (C) 2004 by Dominik Seichter email : domseichter@web.de ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef DATEPLUGIN_H #define DATEPLUGIN_H #include // time_t support... #include /** @author Dominik Seichter */ class DatePlugin : public FilePlugin { public: DatePlugin(); TQString processFile(BatchRenamer* b, int i, TQString token, int mode); const TQString getAccelName() const; const TQString getName() const; const TQString getPattern() const; void addHelp( HelpDialogData* data ); private: const TQString time( time_t time, const TQString & format ); }; #endif