3 #define POCO_NO_UNWINDOWS 1
5 #include <Poco/Exception.h>
6 #include "UnicodeString.h"
9 class TFile : public Poco::File
12 explicit TFile(const String& path) : File(ucr::toUTF8(path)) {}
13 void copyTo(const String& path) const { File::copyTo(ucr::toUTF8(path)); }
14 void moveTo(const String& path) { File::moveTo(ucr::toUTF8(path)); }
15 void renameTo(const String& path) { File::renameTo(ucr::toUTF8(path)); }