AutoUpdate.h 863 B

1234567891011121314151617181920212223242526272829303132
  1. /*-------------------------------------------------------------------------
  2. AutoUpdate.h
  3. Management of the AutoUpdate system
  4. Owner:
  5. Copyright 1986-2000 Microsoft Corporation, All Rights Reserved
  6. *-----------------------------------------------------------------------*/
  7. class IAutoUpdate
  8. {
  9. public:
  10. virtual void LoadSettings(HKEY hk) = 0;
  11. virtual void LoadCRC(char * szFileName) = 0;
  12. virtual char * GetFTPServer() = 0;
  13. virtual char * GetFTPInitialDir() = 0;
  14. virtual char * GetFTPAccount() = 0;
  15. virtual char * GetFTPPassword() = 0;
  16. virtual int GetFileListCRC() = 0;
  17. virtual unsigned GetFileListSize() = 0;
  18. };
  19. void CreateAutoUpdate(HKEY hk, char * szFileName);
  20. extern IAutoUpdate * g_pAutoUpdate; // this is NULL is g_pAutoUpdate is not enabled