00001 00002 00003 00004 00005 00006 00007 00008 00009 #ifndef __AUTOPATCHER_REPOSITORY_INTERFACE_H 00010 #define __AUTOPATCHER_REPOSITORY_INTERFACE_H 00011 00012 class FileList; 00013 namespace RakNet 00014 { 00015 class BitStream; 00016 } 00017 00018 #include "IncrementalReadInterface.h" 00019 #include "SimpleMutex.h" 00020 00022 class AutopatcherRepositoryInterface : public IncrementalReadInterface 00023 { 00024 public: 00032 virtual bool GetChangelistSinceDate(const char *applicationName, FileList *addedFiles, FileList *deletedFiles, const char *sinceDate, char currentDate[64])=0; 00033 00040 virtual bool GetPatches(const char *applicationName, FileList *input, FileList *patchList, char currentDate[64])=0; 00041 00043 virtual const char *GetLastError(void) const=0; 00044 }; 00045 00046 #endif 00047