Patcher.h

00001 /* START_LICENSE_HEADER
00002 
00003 Copyright (C) 2000 Martin Piper, original design and program code
00004 Copyright (C) 2001 Replica Software
00005 
00006 This program file is copyright (C) Replica Software and can only be used under license.
00007 For more information visit: http://www.replicanet.com/
00008 Or email: info@replicanet.com
00009 
00010 END_LICENSE_HEADER */
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 } // namespace RNLobby
00056 
00057 } // namespace RNReplicaNet
00058 
00059 #endif

Generated on Sat Jun 28 22:02:16 2008 for ReplicaNet and RNLobby by  doxygen 1.5.3