mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
committed latest 1.3 snapshot
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// File.cpp
|
||||
//
|
||||
// $Id: //poco/Main/Foundation/src/File.cpp#15 $
|
||||
// $Id: //poco/Main/Foundation/src/File.cpp#17 $
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Filesystem
|
||||
@@ -135,7 +135,13 @@ bool File::canWrite() const
|
||||
return canWriteImpl();
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool File::canExecute() const
|
||||
{
|
||||
return canExecuteImpl();
|
||||
}
|
||||
|
||||
|
||||
bool File::isFile() const
|
||||
{
|
||||
return isFileImpl();
|
||||
@@ -195,6 +201,12 @@ void File::setReadOnly(bool flag)
|
||||
setWriteableImpl(!flag);
|
||||
}
|
||||
|
||||
|
||||
void File::setExecutable(bool flag)
|
||||
{
|
||||
setExecutableImpl(flag);
|
||||
}
|
||||
|
||||
|
||||
void File::copyTo(const std::string& path) const
|
||||
{
|
||||
@@ -298,4 +310,10 @@ void File::list(std::vector<File>& files) const
|
||||
}
|
||||
|
||||
|
||||
void File::handleLastError(const std::string& path)
|
||||
{
|
||||
handleLastErrorImpl(path);
|
||||
}
|
||||
|
||||
|
||||
} // namespace Poco
|
||||
|
||||
Reference in New Issue
Block a user