added new PriorityNotificationQueue, TimedNotificationQueue; added File::isDevice()

This commit is contained in:
Guenter Obiltschnig
2009-04-14 10:38:52 +00:00
parent 98eb0eb532
commit 095401e8e4
36 changed files with 1718 additions and 141 deletions

View File

@@ -1,7 +1,7 @@
//
// File.cpp
//
// $Id: //poco/svn/Foundation/src/File.cpp#3 $
// $Id: //poco/Main/Foundation/src/File.cpp#22 $
//
// Library: Foundation
// Package: Filesystem
@@ -160,6 +160,12 @@ bool File::isLink() const
}
bool File::isDevice() const
{
return isDeviceImpl();
}
bool File::isHidden() const
{
return isHiddenImpl();
@@ -219,7 +225,7 @@ void File::copyTo(const std::string& path) const
Path src(getPathImpl());
Path dest(path);
File destFile(path);
if (destFile.exists() && destFile.isDirectory() || dest.isDirectory())
if ((destFile.exists() && destFile.isDirectory()) || dest.isDirectory())
{
dest.makeDirectory();
dest.setFileName(src.getFileName());