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
+1
View File
@@ -48,6 +48,7 @@ enum {
B_MOUSE_UP = '_MUP',
B_MOUSE_WHEEL_CHANGED = '_MWC',
B_OPEN_IN_WORKSPACE = '_OWS',
B_PACKAGE_UPDATE = '_PKU',
B_PRINTER_CHANGED = '_PCH',
B_PULSE = '_PUL',
B_READY_TO_RUN = '_RTR',