[go: up one dir, main page]

Menu

[f020ae]: / fileops.h  Maximize  Restore  History

Download this file

22 lines (18 with data), 906 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
/////////////////////////////////////////////////////////////////////////////////
// Author: Steven Lamerton
// Copyright: Copyright (C) 2010 Steven Lamerton
// License: GNU GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
/////////////////////////////////////////////////////////////////////////////////
#include "toucan.h"
#include <wx/string.h>
namespace File{
int Copy(const wxString& source, const wxString &dest);
int Rename(const wxString& source, const wxString &dest, bool overwrite);
int Delete(const wxString&path, bool recycle);
void Normalise(wxString *path);
}
#ifdef __WXMSW__
DWORD CALLBACK CopyProgressRoutine(LARGE_INTEGER TotalFileSize, LARGE_INTEGER TotalBytesTransferred, LARGE_INTEGER StreamSize,
LARGE_INTEGER StreamBytesTransferred, DWORD dwStreamNumber, DWORD dwCallbackReason,
HANDLE hSourceFile, HANDLE hDestinationFile, LPVOID lpData);
#endif