Add a private B_ATTR_CHANGE_NOTIFICATION flag to the open query syscall to tell the query to send notifications when an entry attribute changed and the entry stays in the query. Previously you only get created and removed messages, now you can also get updated messages. Only implement it for bfs.
Fix copy right. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39131 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#ifndef QUERY_PRIVATE_H
|
||||
#define QUERY_PRIVATE_H
|
||||
|
||||
|
||||
// If an entry is already in a query and a attribute changed
|
||||
// B_ATTR_CHANGE_NOTIFICATION tells the query to send B_ATTR_CHANGED
|
||||
// notifications if the entry stays in the query.
|
||||
#define B_ATTR_CHANGE_NOTIFICATION 0x0000F000
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user