Index: src/ch/UpdateChecker.h =================================================================== diff -u -N -r50ad2dc9f0b42ba432bb54e4a042582277410773 -r1f27a2022090cf7aaf827a3f1ad90d6fe0038518 --- src/ch/UpdateChecker.h (.../UpdateChecker.h) (revision 50ad2dc9f0b42ba432bb54e4a042582277410773) +++ src/ch/UpdateChecker.h (.../UpdateChecker.h) (revision 1f27a2022090cf7aaf827a3f1ad90d6fe0038518) @@ -48,7 +48,7 @@ ~CUpdateChecker(); /// Starts the 'check for updates' thread - bool AsyncCheckForUpdates(const wchar_t* pszSite, const wchar_t* pszLanguage, UpdateVersionInfo::EVersionType bCheckBeta, bool bOnlyIfConnected); + bool AsyncCheckForUpdates(const wchar_t* pszSite, const wchar_t* pszLanguage, UpdateVersionInfo::EVersionType eUpdateChannel, bool bOnlyIfConnected); /// Stops checking and cleanups the object void Cleanup(); @@ -75,7 +75,7 @@ /// Sets the versions and download address void SetVersionsAndAddress(PCTSTR pszAddress, PCTSTR pszNumericVersion, PCTSTR pszReadableVersion, PCTSTR pszReleaseDate, PCTSTR pszReleaseNotes); /// Retrieves the site address - void GetSiteAddress(CString& rstrAddress) const; + CString GetSiteAddress() const; /// Returns information if we're interested in beta versions UpdateVersionInfo::EVersionType GetUpdateChannel(); @@ -97,7 +97,6 @@ CAsyncHttpFile m_httpFile; UpdateHeaders m_tUpdateHeaders; - HANDLE m_hThread; HANDLE m_hKillEvent; mutable CRITICAL_SECTION m_cs;