summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/httpget.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2013-01-13 19:45:29 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2013-01-13 19:45:29 +0100
commit1f1826e39c2e9c8b548017153b34ab8d68bb8d03 (patch)
treedd44d964f0c0e2c1f0b890d1a1bc5388ffdd44a2 /rbutil/rbutilqt/base/httpget.h
parentd608fd604b4a3c0f0f9ba9dc3bcce7aae6c557f7 (diff)
downloadrockbox-1f1826e39c2e9c8b548017153b34ab8d68bb8d03.tar.gz
rockbox-1f1826e39c2e9c8b548017153b34ab8d68bb8d03.zip
Remove Rockbox Utility Offline Mode.
Offline Mode was intended to allow performing an installation without network access. However, to get the required files cached the same installation has to be performed with network access, which is a rather strange prerequisite. A better way would be a way to direct Rockbox Utility to some local "repository" that holds the required files. Furthermore, Offline Mode hasn't been tested since long and is likely to be broken since the caching mechanism has been extended. For now remove this functionality. As far as I know it's been rarely used (if at all) anyway. Change-Id: Ib2af4892708e0440bd0a7940c131f04182ddb39a
Diffstat (limited to 'rbutil/rbutilqt/base/httpget.h')
-rw-r--r--rbutil/rbutilqt/base/httpget.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/rbutil/rbutilqt/base/httpget.h b/rbutil/rbutilqt/base/httpget.h
index e8a936de08..73d3fbbaf5 100644
--- a/rbutil/rbutilqt/base/httpget.h
+++ b/rbutil/rbutilqt/base/httpget.h
@@ -45,14 +45,10 @@ class HttpGet : public QObject
{ return m_cached; }
QDateTime timestamp(void)
{ return m_serverTimestamp; }
- void setDumbCache(bool b) //< disable checking of http header timestamp for caching
- { m_dumbCache = b; }
static void setGlobalCache(const QDir& d) //< set global cache path
{ m_globalCache = d; }
static void setGlobalProxy(const QUrl& p) //< set global proxy value
{ m_globalProxy = p; }
- static void setGlobalDumbCache(bool b) //< set "dumb" (ignore server status) caching mode
- { m_globalDumbCache = b; }
static void setGlobalUserAgent(const QString& u) //< set global user agent string
{ m_globalUserAgent = u; }
@@ -92,12 +88,10 @@ class HttpGet : public QObject
QString m_query; //< constructed query to pass http getter
QString m_path; //< constructed path to pass http getter
QString m_hash; //< caching hash
- bool m_dumbCache; //< true if caching should ignore the server header
QHttpRequestHeader m_header;
static QDir m_globalCache; //< global cache path value
static QUrl m_globalProxy; //< global proxy value
- static bool m_globalDumbCache; //< cache "dumb" mode global setting
static QString m_globalUserAgent; //< global user agent string
};