142fb2f652
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401657
24 lines
691 B
C++
24 lines
691 B
C++
#ifndef _INCLUDE_INSTALLER_COPY_METHOD_H_
|
|
#define _INCLUDE_INSTALLER_COPY_METHOD_H_
|
|
|
|
#include "platform_headers.h"
|
|
|
|
class ICopyProgress
|
|
{
|
|
public:
|
|
virtual void UpdateProgress(float percent_complete) =0;
|
|
};
|
|
|
|
class ICopyMethod
|
|
{
|
|
public:
|
|
virtual bool CheckForExistingInstall() =0;
|
|
virtual void TrackProgress(ICopyProgress *pProgress) =0;
|
|
virtual bool SetCurrentFolder(const TCHAR *path, TCHAR *buffer, size_t maxchars) =0;
|
|
virtual bool SendFile(const TCHAR *path, TCHAR *buffer, size_t maxchars) =0;
|
|
virtual bool CreateFolder(const TCHAR *name, TCHAR *buffer, size_t maxchars) =0;
|
|
virtual void CancelCurrentCopy() =0;
|
|
};
|
|
|
|
#endif //_INCLUDE_INSTALLER_COPY_METHOD_H_
|