Subversion Repositories tpanel

Rev

Rev 93 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 93 Rev 97
Line 33... Line 33...
33
        TImageRefresh();
33
        TImageRefresh();
34
        ~TImageRefresh();
34
        ~TImageRefresh();
35
 
35
 
36
        void run(const std::string& url);
36
        void run(const std::string& url);
37
        void stop() { mStopped = true; }
37
        void stop() { mStopped = true; }
-
 
38
        void stopWait();
38
        bool isRunning() { return mRunning; }
39
        bool isRunning() { return mRunning; }
39
        void setInterval(std::chrono::seconds s) { mSec = s; }
40
        void setInterval(std::chrono::seconds s) { mSec = s; }
40
        void setRunOnce() { mRunOnce = true; }
41
        void setRunOnce() { mRunOnce = true; }
41
        void setUsername(const std::string& user) { mUser = user; }
42
        void setUsername(const std::string& user) { mUser = user; }
42
        void setPassword(const std::string& pw) { mPassword = pw; }
43
        void setPassword(const std::string& pw) { mPassword = pw; }