![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
00001 00002 00003 00004 00005 00006 00007 00008 00009 #ifndef __AUTOPATCHER_REPOSITORY_INTERFACE_H 00010 #define __AUTOPATCHER_REPOSITORY_INTERFACE_H 00011 00012 #include "IncrementalReadInterface.h" 00013 #include "SimpleMutex.h" 00014 00015 namespace RakNet 00016 { 00018 class FileList; 00019 class BitStream; 00020 00022 class AutopatcherRepositoryInterface : public IncrementalReadInterface 00023 { 00024 public: 00032 virtual bool GetChangelistSinceDate(const char *applicationName, FileList *addedFiles, FileList *deletedFiles, double sinceDate)=0; 00033 00040 virtual bool GetPatches(const char *applicationName, FileList *input, FileList *patchList)=0; 00041 00053 virtual bool GetMostRecentChangelistWithPatches( 00054 RakNet::RakString &applicationName, 00055 FileList *patchedFiles, 00056 FileList *updatedFiles, 00057 FileList *updatedFileHashes, 00058 FileList *deletedFiles, 00059 double *priorRowPatchTime, 00060 double *mostRecentRowPatchTime)=0; 00061 00063 virtual const char *GetLastError(void) const=0; 00064 00066 virtual const int GetIncrementalReadChunkSize(void) const=0; 00067 }; 00068 00069 } // namespace RakNet 00070 00071 #endif 00072
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.