Haiku will provide more information for B_ATTR_CHANGED and B_STAT_CHANGED events.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11216 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2005-02-02 14:19:26 +00:00
parent 1b6e740f1e
commit 95bac3fda5

View File

@ -42,6 +42,28 @@ enum {
#define B_DEVICE_UNMOUNTED 7 #define B_DEVICE_UNMOUNTED 7
// More specific info in the "cause" field of B_ATTR_CHANGED notification
// messages. (Haiku only)
#define B_ATTR_CREATED 1
#define B_ATTR_REMOVED 2
// B_ATTR_CHANGED is reused
// More specific info in the "fields" field of B_STAT_CHANGED notification
// messages, specifying what parts of the stat data have actually been
// changed. (Haiku only)
enum {
B_STAT_MODE = 0x01,
B_STAT_UID = 0x02,
B_STAT_GID = 0x04,
B_STAT_SIZE = 0x08,
B_STAT_ACCESS_TIME = 0x10,
B_STAT_MODIFICATION_TIME = 0x20,
B_STAT_CREATION_TIME = 0x40,
B_STAT_CHANGE_TIME = 0x80,
}};
/* C++ callable Prototypes /* C++ callable Prototypes
* *
* Since you are not able to parse BMessages from plain C, there is no * Since you are not able to parse BMessages from plain C, there is no