Subversion Repositories tpanel

Rev

Rev 475 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 475 Rev 479
Line 53... Line 53...
53
        void setFileSize(off64_t fs) { mFileSize = fs; }
53
        void setFileSize(off64_t fs) { mFileSize = fs; }
54
        off64_t getFileSize() { return mFileSize; }
54
        off64_t getFileSize() { return mFileSize; }
55
        off64_t getFileSize(const std::string& file);
55
        off64_t getFileSize(const std::string& file);
56
        void regCallbackProcessEvents(std::function<void ()> pe) { _processEvents = pe; }
56
        void regCallbackProcessEvents(std::function<void ()> pe) { _processEvents = pe; }
57
        void regCallbackProgressBar(std::function<void (int percent)> pb) { _progressBar = pb; }
57
        void regCallbackProgressBar(std::function<void (int percent)> pb) { _progressBar = pb; }
58
        void setTP5(bool tp) { mIsTP5 = tp; }
58
        static void setTP5(bool tp) { mIsTP5 = tp; }
59
        bool getTP5() { return mIsTP5; }
59
        static bool getTP5() { return mIsTP5; }
60
 
60
 
61
        static bool haveSystemMarker();
61
        static bool haveSystemMarker();
62
 
62
 
63
    protected:
63
    protected:
64
        bool testForTp5();
64
        bool testForTp5();
Line 82... Line 82...
82
        off64_t mFileSize{0};
82
        off64_t mFileSize{0};
83
        bool mDirStructureCreated{false};
83
        bool mDirStructureCreated{false};
84
        bool mPanelConfigsCreated{false};
84
        bool mPanelConfigsCreated{false};
85
        bool mSystemConfigsCreated{false};
85
        bool mSystemConfigsCreated{false};
86
        bool mDemoPageCreated{false};
86
        bool mDemoPageCreated{false};
87
        bool mIsTP5{false};
87
        static bool mIsTP5;
88
};
88
};
89
 
89
 
90
#endif // TTPINIT_H
90
#endif // TTPINIT_H