| 1 | 
 | 
|---|
| 2 | /***********************************************************************
 | 
|---|
| 3 | 
 | 
|---|
| 4 |   $Id: copyf.h 1741 2014-02-22 23:32:04Z gyoung $
 | 
|---|
| 5 | 
 | 
|---|
| 6 |   <<description here>>
 | 
|---|
| 7 | 
 | 
|---|
| 8 |   Copyright (c) 1993-98 M. Kimes
 | 
|---|
| 9 |   Copyright (c) 2001, 2014 Steven H. Levine
 | 
|---|
| 10 | 
 | 
|---|
| 11 |   05 Sep 08 JBS Ticket 187: Refactor FM3DLL.H
 | 
|---|
| 12 |   08 Mar 09 GKY Removed variable aurguments from docopyf and unlinkf (not used)
 | 
|---|
| 13 |   04 Aug 12 GKY Changes to use Unlock to unlock files if Unlock.exe is in path both
 | 
|---|
| 14 |                 from menu/toolbar and as part of copy, move and delete operations
 | 
|---|
| 15 |   04 Aug 12 GKY Changes to allow copy and move over readonly files with a warning dialog;
 | 
|---|
| 16 |                 also added a warning dialog for delete of readonly files
 | 
|---|
| 17 |   10 Mar 13 GKY Improvrd readonly check on delete to allow cancel and don't ask again options
 | 
|---|
| 18 |   09 Feb 14 GKY Modified wipeallf to allow suppression of the readonly warning on delete
 | 
|---|
| 19 |                 of temporary files
 | 
|---|
| 20 |   22 Feb 14 GKY Fix warn readonly yes don't ask to work when recursing directories.
 | 
|---|
| 21 | 
 | 
|---|
| 22 | ***********************************************************************/
 | 
|---|
| 23 | 
 | 
|---|
| 24 | #if !defined(COPYF_H)
 | 
|---|
| 25 | 
 | 
|---|
| 26 | #define COPYF_H
 | 
|---|
| 27 | extern BOOL ignorereadonly;
 | 
|---|
| 28 | 
 | 
|---|
| 29 | BOOL AdjustWildcardName(CHAR * oldname, CHAR * newname);
 | 
|---|
| 30 | char *MakeTempName(char *buffer, char *temproot, int type);
 | 
|---|
| 31 | BOOL WriteLongName(CHAR * filename, CHAR * longname);
 | 
|---|
| 32 | APIRET docopyf(INT type, CHAR * oldname, CHAR * newname);
 | 
|---|
| 33 | INT make_deleteable(CHAR * filename, INT error, BOOL Dontcheckreadonly);
 | 
|---|
| 34 | INT unlinkf(CHAR * string);
 | 
|---|
| 35 | INT wipeallf(BOOL ignorereadonly, CHAR * string, ...);
 | 
|---|
| 36 | 
 | 
|---|
| 37 | #endif  // COPYF_H
 | 
|---|