forked from len0rd/rockbox
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
This commit is contained in:
parent
d608fd604b
commit
1f1826e39c
8 changed files with 2 additions and 32 deletions
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue