Move setReachability to CachingHTTPFileSource
This commit is contained in:
@@ -122,9 +122,6 @@ public:
|
||||
void toggleDebug();
|
||||
bool getDebug() const;
|
||||
|
||||
// Call this when the network reachability changed.
|
||||
void setReachability(bool status);
|
||||
|
||||
inline const TransformState &getState() const { return state; }
|
||||
inline timestamp getTime() const { return animationTime; }
|
||||
|
||||
|
||||
@@ -30,7 +30,8 @@ public:
|
||||
|
||||
void prepare(std::function<void()> fn);
|
||||
|
||||
void retryAllPending();
|
||||
// Call this when the network status reachability changed.
|
||||
void setReachability(bool reachable);
|
||||
|
||||
private:
|
||||
std::thread::id thread_id;
|
||||
|
||||
@@ -21,7 +21,6 @@ public:
|
||||
virtual void setBase(const std::string &value) = 0;
|
||||
virtual std::unique_ptr<Request> request(ResourceType type, const std::string &url) = 0;
|
||||
virtual void prepare(std::function<void()> fn) = 0;
|
||||
virtual void retryAllPending() = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user