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