W. Boeke
2003-10-16 13:00:37 UTC
Hi,
The BeBook documentation for BAppFileInfo is not correct - it should
be part of The Storage Kit/NodeInfo.html, but it is not there. I found
documentation for it in the old R3 doc, and tried to use it as follows:
BAppFileInfo afi(&app);
BMessage msg;
msg.AddString("types","text/plain");
afi.SetSupportedTypes(&msg);
The last statement returns error code B_ENTRY_NOT_FOUND, I don't know
why, and I don't know how to do it better. Any help would be much
appreciated, as usual.
Wouter Boeke
The BeBook documentation for BAppFileInfo is not correct - it should
be part of The Storage Kit/NodeInfo.html, but it is not there. I found
documentation for it in the old R3 doc, and tried to use it as follows:
BAppFileInfo afi(&app);
BMessage msg;
msg.AddString("types","text/plain");
afi.SetSupportedTypes(&msg);
The last statement returns error code B_ENTRY_NOT_FOUND, I don't know
why, and I don't know how to do it better. Any help would be much
appreciated, as usual.
Wouter Boeke