ToolMap
Loading...
Searching...
No Matches
DirOperation Class Reference

For directory operations (copy, delete...) More...

#include <diroperation.h>

Inheritance diagram for DirOperation:

Public Member Functions

 DirOperation (wxString OriginPath, wxString DestinationPath=_T(""))
 
void InitPath (wxString OriginPath=_T(""), wxString DestinationPath=_T(""))
 
double GetDirectorySize (DIROP_SELECTDIR dirselection=DIROP_PATH_ORIGIN)
 
long GetAllDirectoryFiles (wxArrayString &filesNames, DIROP_SELECTDIR dirselection=DIROP_PATH_ORIGIN)
 
bool HasEnoughFreeSpace (double megabyteSize, DIROP_SELECTDIR dirselection=DIROP_PATH_ORIGIN)
 
bool IsPathWritable (DIROP_SELECTDIR dirselection=DIROP_PATH_DESTINATION)
 
bool CopyDirectory (const wxArrayString &filesNames, bool showprogress=FALSE)
 

Protected Member Functions

void InitMembers ()
 

Protected Attributes

wxString m_Path [2]
 

Detailed Description

For directory operations (copy, delete...)

This is intended to be a super class dealing with directory operation such as copy, move, count size of a directory and so on.

Author
Lucien Schreiber (c) CREALP 2007
Date
05 February 2008

The documentation for this class was generated from the following files: