00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef _PATCHER_H_
00012 #define _PATCHER_H_
00013 #include "RNPlatform/Inc/DLLExportAPI.h"
00014
00015 namespace RNReplicaNet
00016 {
00017
00018 namespace RNLobby
00019 {
00020
00021 class PatcherPrivate;
00022
00026 class Patcher
00027 {
00028 public:
00029 Patcher();
00030 virtual ~Patcher();
00031
00038 int GeneratePatch(const char *sourcePath,const char *newPath,const char *patchPath,const size_t level = 8);
00039
00045 bool PatchFile(const char *sourcePath,const char *patchPath,const char *destinationPath);
00046
00049 virtual bool CallbackScanning(const size_t filePos,const size_t fileMax);
00050
00051 private:
00052 PatcherPrivate &mData;
00053 };
00054
00055 }
00056
00057 }
00058
00059 #endif