xref: /haiku/headers/private/storage/mime/MimeInfoUpdater.h (revision 02354704729d38c3b078c696adc1bbbd33cbcf72)
1 /*
2  * Copyright 2013, Haiku, Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Ingo Weinhold <ingo_weinhold@gmx.de>
7  */
8 #ifndef _MIME_MIME_INFO_UPDATER_H
9 #define _MIME_MIME_INFO_UPDATER_H
10 
11 
12 #include <mime/MimeEntryProcessor.h>
13 
14 
15 namespace BPrivate {
16 namespace Storage {
17 namespace Mime {
18 
19 
20 class MimeInfoUpdater : public MimeEntryProcessor {
21 public:
22 								MimeInfoUpdater(Database* database,
23 									DatabaseLocker* databaseLocker,
24 						   			int32 force);
25 	virtual						~MimeInfoUpdater();
26 
27 	virtual	status_t			Do(const entry_ref& entry, bool* _entryIsDir);
28 };
29 
30 
31 } // namespace Mime
32 } // namespace Storage
33 } // namespace BPrivate
34 
35 
36 #endif	// _MIME_MIME_INFO_UPDATER_H
37