#ifndef SYNCFILEITEM_H #define SYNCFILEITEM_H #include #include namespace Mirall { // FIXME: Unhack this. class SyncFileItem { public: typedef enum { None = 0, Up, Down } Direction; typedef enum { UnknownType, File, Directory, SoftLink } Type; SyncFileItem() {} bool operator==(const SyncFileItem& item) const { return item._file == this->_file; } bool isEmpty() const { return _file.isEmpty(); } // variables QString _file; QString _renameTarget; QString _errorString; csync_instructions_e _instruction; Direction _dir; Type _type; }; typedef QVector SyncFileItemVector; } #endif // SYNCFILEITEM_H