1 //----------------------------------------------------------------------
2 // This software is part of the OpenBeOS distribution and is covered
4 //---------------------------------------------------------------------
6 \file UpdateMimeInfoThread.h
7 UpdateMimeInfoThread interface declaration
10 #ifndef _MIME_UPDATE_MIME_INFO_THREAD_H
11 #define _MIME_UPDATE_MIME_INFO_THREAD_H
14 #include <mime/MimeInfoUpdater.h>
16 #include "MimeUpdateThread.h"
24 class UpdateMimeInfoThread
: public MimeUpdateThread
{
26 UpdateMimeInfoThread(const char* name
,
27 int32 priority
, Database
* database
,
28 MimeEntryProcessor::DatabaseLocker
*
30 BMessenger managerMessenger
,
31 const entry_ref
* root
, bool recursive
,
32 int32 force
, BMessage
* replyee
);
34 virtual status_t
DoMimeUpdate(const entry_ref
* entry
,
38 MimeInfoUpdater fUpdater
;
43 } // namespace Storage
44 } // namespace BPrivate
46 #endif // _MIME_UPDATE_MIME_INFO_THREAD_H