251cced1f8
Various minor things done to project files Updated sample extension project file and updated makefile to the new unified version (more changes likely on the way) Updated regex project file and makefile --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401971
30 lines
889 B
C++
30 lines
889 B
C++
#ifndef _INCLUDE_INSTALL_LOCAL_COPY_METHOD_H_
|
|
#define _INCLUDE_INSTALL_LOCAL_COPY_METHOD_H_
|
|
|
|
#include "platform_headers.h"
|
|
#include "ICopyMethod.h"
|
|
|
|
class LocalCopyMethod : public ICopyMethod
|
|
{
|
|
public:
|
|
LocalCopyMethod();
|
|
public:
|
|
virtual void TrackProgress(ICopyProgress *pProgress);
|
|
virtual bool SetCurrentFolder(const TCHAR *path, TCHAR *buffer, size_t maxchars);
|
|
virtual bool SendFile(const TCHAR *path, TCHAR *buffer, size_t maxchars);
|
|
virtual bool CreateFolder(const TCHAR *name, TCHAR *buffer, size_t maxchars);
|
|
virtual void CancelCurrentCopy();
|
|
virtual bool CheckForExistingInstall();
|
|
public:
|
|
void SetOutputPath(const TCHAR *path);
|
|
private:
|
|
ICopyProgress *m_pProgress;
|
|
TCHAR m_OutputPath[MAX_PATH];
|
|
TCHAR m_CurrentPath[MAX_PATH];
|
|
BOOL m_bCancelStatus;
|
|
};
|
|
|
|
extern LocalCopyMethod g_LocalCopier;
|
|
|
|
#endif //_INCLUDE_INSTALL_LOCAL_COPY_METHOD_H_
|