version 1.49, 2007/02/12 12:18:53
|
version 1.50, 2007/02/13 18:30:58
|
|
|
#include "Socket.h" | #include "Socket.h" |
#include "Network.h" | #include "Network.h" |
#include <Pegasus/Common/PegasusVersion.h> | #include <Pegasus/Common/PegasusVersion.h> |
|
#include <Pegasus/Common/FileSystem.h> |
| |
#if defined(PEGASUS_OS_TYPE_WINDOWS) | #if defined(PEGASUS_OS_TYPE_WINDOWS) |
# include "SystemWindows.cpp" | # include "SystemWindows.cpp" |
|
|
Boolean System::copyFile(const char* fromPath, const char* toPath) | Boolean System::copyFile(const char* fromPath, const char* toPath) |
{ | { |
ifstream is(fromPath PEGASUS_IOS_BINARY); | ifstream is(fromPath PEGASUS_IOS_BINARY); |
ofstream os(toPath PEGASUS_IOS_BINARY); |
fstream os(toPath, ios::out PEGASUS_OR_IOS_BINARY); |
| |
char c; | char c; |
| |
|
|
return false; | return false; |
} | } |
| |
|
FileSystem::syncWithDirectoryUpdates(os); |
return is.eof(); | return is.eof(); |
} | } |
| |