btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / servers / registrar / mime / UpdateMimeInfoThread.h
blob24db3670b2cece038dd94925b5a26930d8698f0c
1 //----------------------------------------------------------------------
2 // This software is part of the OpenBeOS distribution and is covered
3 // by the MIT License.
4 //---------------------------------------------------------------------
5 /*!
6 \file UpdateMimeInfoThread.h
7 UpdateMimeInfoThread interface declaration
8 */
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"
19 namespace BPrivate {
20 namespace Storage {
21 namespace Mime {
24 class UpdateMimeInfoThread : public MimeUpdateThread {
25 public:
26 UpdateMimeInfoThread(const char* name,
27 int32 priority, Database* database,
28 MimeEntryProcessor::DatabaseLocker*
29 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,
35 bool* _entryIsDir);
37 private:
38 MimeInfoUpdater fUpdater;
42 } // namespace Mime
43 } // namespace Storage
44 } // namespace BPrivate
46 #endif // _MIME_UPDATE_MIME_INFO_THREAD_H