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