"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/finder-sync/finder-sync-listener.mm" between
seafile-client-7.0.4.tar.gz and seafile-client-7.0.5.tar.gz

About: Seafile (client) for the Seafile cloud storage system.

finder-sync-listener.mm  (seafile-client-7.0.4):finder-sync-listener.mm  (seafile-client-7.0.5)
skipping to change at line 34 skipping to change at line 34
namespace { namespace {
enum CommandType : uint32_t { enum CommandType : uint32_t {
GetWatchSet = 0, GetWatchSet = 0,
DoShareLink = 1, DoShareLink = 1,
DoGetFileStatus = 2, DoGetFileStatus = 2,
DoInternalLink = 3, DoInternalLink = 3,
DoLockFile = 4, DoLockFile = 4,
DoUnlockFile = 5, DoUnlockFile = 5,
DoShowFileHistory = 6, DoShowFileHistory = 6,
DoShowFileLockedBy = 7, DoShowFileLockedBy = 7,
DoGetUploadLink = 8,
}; };
struct mach_msg_command_send_t { struct mach_msg_command_send_t {
mach_msg_header_t header; mach_msg_header_t header;
uint32_t version; uint32_t version;
uint32_t command; uint32_t command;
char repo[36]; char repo[36];
char body[kPathMaxSize]; char body[kPathMaxSize];
}; };
skipping to change at line 261 skipping to change at line 262
case DoShowFileHistory: case DoShowFileHistory:
QMetaObject::invokeMethod(finder_sync_host_.get(), "doShowFileHistory", QMetaObject::invokeMethod(finder_sync_host_.get(), "doShowFileHistory",
Qt::QueuedConnection, Qt::QueuedConnection,
Q_ARG(QString, msg->body)); Q_ARG(QString, msg->body));
break; break;
case DoShowFileLockedBy: case DoShowFileLockedBy:
QMetaObject::invokeMethod(finder_sync_host_.get(), "doShowFileLockedBy", QMetaObject::invokeMethod(finder_sync_host_.get(), "doShowFileLockedBy",
Qt::QueuedConnection, Qt::QueuedConnection,
Q_ARG(QString, msg->body)); Q_ARG(QString, msg->body));
break; break;
case DoGetUploadLink:
QMetaObject::invokeMethod(finder_sync_host_.get(), "doGetUploadLink",
Qt::QueuedConnection,
Q_ARG(QString, msg->body));
break;
default: default:
qWarning("[FinderSync] received unknown command %u", msg->command); qWarning("[FinderSync] received unknown command %u", msg->command);
break; break;
} }
mach_msg_destroy(&msg->header); mach_msg_destroy(&msg->header);
} }
@end @end
void finderSyncListenerStart() { void finderSyncListenerStart() {
 End of changes. 2 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)