Browse Subversion Repository
Contents of /old/filecopy.cpp
Parent Directory
| Revision Log
Revision 19 -
( show annotations)
( download)
Wed Jan 2 22:41:42 2008 UTC
(16 years, 4 months ago)
by tabasa
File MIME type: text/plain
File size: 655 byte(s)
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#include "defextern.h" |
| 5 |
|
| 6 |
|
| 7 |
#ifndef STRICT |
| 8 |
#define STRICT |
| 9 |
#endif |
| 10 |
#include <stdio.h> |
| 11 |
#include <windows.h> |
| 12 |
#include "file.h" |
| 13 |
#include "dir.h" |
| 14 |
#include "mes.h" |
| 15 |
|
| 16 |
char *MyGetFullName(char *full, char *file, char *path, DWORD len) |
| 17 |
{ |
| 18 |
if(isclip(path) || ishis(path)) |
| 19 |
{ |
| 20 |
wsprintf(full, "%s", file); |
| 21 |
return full; |
| 22 |
} |
| 23 |
return GetFullName( full, file, path, len); |
| 24 |
} |
| 25 |
|
| 26 |
// clip:c:\...\filename >> clip:đćé |
| 27 |
|
| 28 |
BOOL CopyFileOne(char *from, char *to, BOOL f) |
| 29 |
{ |
| 30 |
if(isclip(from)) |
| 31 |
{ |
| 32 |
from +=_ClipLen; |
| 33 |
} |
| 34 |
if(ishis(from)) |
| 35 |
{ |
| 36 |
from +=_HisLen; |
| 37 |
} |
| 38 |
if(isclip(to)) |
| 39 |
{ |
| 40 |
return addclip(from, to); |
| 41 |
} |
| 42 |
if(ishis(to)) |
| 43 |
{ |
| 44 |
return FALSE; |
| 45 |
} |
| 46 |
return CopyFile(from, to, f); |
| 47 |
} |
Properties
| svn:eol-style |
native
|
| svn:keywords |
Id Revision
|
| svn:mime-type |
text/plain
|
| |