2013-05-08 03:08:16 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2013, Haiku, Inc. All Rights Reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Ingo Weinhold <ingo_weinhold@gmx.de>
|
|
|
|
*/
|
2013-05-09 03:37:23 +04:00
|
|
|
#ifndef _MIME_MIME_ENTRY_PROCESSOR_H
|
|
|
|
#define _MIME_MIME_ENTRY_PROCESSOR_H
|
2013-05-08 03:08:16 +04:00
|
|
|
|
|
|
|
|
2013-05-09 03:37:23 +04:00
|
|
|
#include <mime/MimeEntryProcessor.h>
|
2013-05-08 03:08:16 +04:00
|
|
|
|
|
|
|
|
|
|
|
namespace BPrivate {
|
|
|
|
namespace Storage {
|
|
|
|
namespace Mime {
|
|
|
|
|
|
|
|
|
2013-05-09 03:37:23 +04:00
|
|
|
class AppMetaMimeCreator : public MimeEntryProcessor {
|
2013-05-08 03:08:16 +04:00
|
|
|
public:
|
|
|
|
AppMetaMimeCreator(Database* database,
|
|
|
|
DatabaseLocker* databaseLocker,
|
|
|
|
int32 force);
|
2013-05-09 03:37:23 +04:00
|
|
|
virtual ~AppMetaMimeCreator();
|
2013-05-08 03:08:16 +04:00
|
|
|
|
2013-05-09 03:37:23 +04:00
|
|
|
virtual status_t Do(const entry_ref& entry, bool* _entryIsDir);
|
2013-05-08 03:08:16 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace Mime
|
|
|
|
} // namespace Storage
|
|
|
|
} // namespace BPrivate
|
|
|
|
|
|
|
|
|
2013-05-09 03:37:23 +04:00
|
|
|
#endif // _MIME_MIME_ENTRY_PROCESSOR_H
|