/**************************************************************************** Make Sync File Class Header ----------------------------------------- begin : 2014/09/02 copyright : (C) 2005 Solbox Inc. author : Storage Dev Team email : storage.sd@solbox.com version : 3.4 CopyRight(C) 2005 Solbox Inc. All Rights reserved. Redistribution and use in source and binary forms, with or with out modification, are not permitted in outside of Solbox Inc. *****************************************************************************/ #ifndef __MAKE_SYNC_FILE_H__ #define __MAKE_SYNC_FILE_H__ #include #include "SyncList.h" class CMakeSyncFile { public: CMakeSyncFile(CSyncInfo &info); ~CMakeSyncFile(); bool MakeSyncFile(); int WorkNotify(short success); private: class CStatus { public: CStatus() : m_diff(0), m_work(0), m_launcherfail(0), m_success(0), m_error(0) {} public: int64_t m_diff; int64_t m_work; int64_t m_launcherfail; int64_t m_success; int64_t m_error; }; CSyncInfo m_info; CStatus m_status; bool m_stop; pthread_mutex_t m_notifymutex; }; #endif /* __MAKE_SYNC_FILE_H__ */