Added TODO. Just in case someone wants to tackle it. :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15990 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2006-01-16 23:47:38 +00:00
parent 0c7450238f
commit 50f4cc4317

View File

@ -35,6 +35,14 @@ UpdateMimeInfoThread::UpdateMimeInfoThread(const char *name, int32 priority,
status_t
UpdateMimeInfoThread::DoMimeUpdate(const entry_ref *entry, bool *entryIsDir)
{
// TODO: This implementation is incomplete.
// For application executables we also need to copy several things from the
// resources into attributes (basically that is supported by BAppFileInfo,
// which we can use here, BTW).
// Furthermore fForce shouldn't be a boolean. The do_mime_update() API
// functions takes an "int force", which can have three valid values, 0, 1,
// and 2. 0 is no-force, 1 and 2 correspond to the mimeset flags -f and -F,
// respectively.
status_t err = entry ? B_OK : B_BAD_VALUE;
bool doUpdate = true;
BNode node;