xref: /haiku/headers/build/private/storage/mime/UpdateMimeInfoThread.h (revision 99d1318ec02694fc520a0dc38ae38565db7e8c3c)
1 //----------------------------------------------------------------------
2 //  This software is part of the Haiku distribution and is covered
3 //  by the MIT 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 <mime/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,
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