xref: /haiku/src/servers/registrar/mime/UpdateMimeInfoThread.h (revision 1294543de9ac0eff000eaea1b18368c36435d08e)
1 //----------------------------------------------------------------------
2 //  This software is part of the OpenBeOS distribution and is covered
3 //  by the OpenBeOS license.
4 //---------------------------------------------------------------------
5 /*!
6 	\file UpdateMimeInfoThread.h
7 	UpdateMimeInfoThread interface declaration
8 */
9 
10 #ifndef _MIME_UPDATE_MIME_INFO_THREAD_H
11 #define _MIME_UPDATE_MIME_INFO_THREAD_H
12 
13 #include "MimeUpdateThread.h"
14 
15 namespace BPrivate {
16 namespace Storage {
17 namespace Mime {
18 
19 class UpdateMimeInfoThread : public MimeUpdateThread {
20 public:
21 	UpdateMimeInfoThread(const char *name, int32 priority, Database *database,
22 		BMessenger managerMessenger, const entry_ref *root, bool recursive,
23 		int32 force, BMessage *replyee);
24 	status_t DoMimeUpdate(const entry_ref *entry, bool *entryIsDir);
25 };
26 
27 }	// namespace Mime
28 }	// namespace Storage
29 }	// namespace BPrivate
30 
31 #endif	// _MIME_UPDATE_MIME_INFO_THREAD_H
32