Add watching support for installation location package changes

Can be requested/stopped via BPackageRoster::{Start,Stop}Watching().
The notification message has the what code B_PACKAGE_UPDATE and contains
fields "event", "location", and "change count".
This commit is contained in:
Ingo Weinhold
2014-06-17 20:32:26 +02:00
parent 3f91ba29d9
commit 5c9672edeb
11 changed files with 271 additions and 3 deletions
+4
View File
@@ -124,6 +124,10 @@ enum {
B_REG_DELETE_USER = 'rdus',
B_REG_UPDATE_GROUP = 'rugr',
B_REG_DELETE_GROUP = 'rdgr',
// package watching requests
B_REG_PACKAGE_START_WATCHING = 'rgPw',
B_REG_PACKAGE_STOP_WATCHING = 'rgPx',
};
// B_REG_MIME_SET_PARAM "which" constants