1/*
2 * Copyright 2021-2022, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Augustin Cavalier <waddlesplash>
7 *		John Scipione <jscipione@gmail.com>
8 */
9#ifndef _TRACKER_THUMBNAILS_H
10#define _TRACKER_THUMBNAILS_H
11
12
13#include <Bitmap.h>
14#include <Mime.h>
15
16
17namespace BPrivate {
18
19
20class Model;
21
22
23status_t GetThumbnailFromAttr(Model* model, BBitmap* icon, BSize size);
24bool ShouldGenerateThumbnail(const char* type);
25
26
27} // namespace BPrivate
28
29using namespace BPrivate;
30
31
32#endif	// _TRACKER_THUMBNAILS_H
33