xref: /haiku/src/kits/tracker/Thumbnails.h (revision 4a55cc230cf7566cadcbb23b1928eefff8aea9a2)
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 
17 namespace BPrivate {
18 
19 
20 class Model;
21 
22 
23 status_t GetThumbnailFromAttr(Model* model, BBitmap* icon, BSize size);
24 bool ShouldGenerateThumbnail(const char* type);
25 
26 
27 } // namespace BPrivate
28 
29 using namespace BPrivate;
30 
31 
32 #endif	// _TRACKER_THUMBNAILS_H
33