2020-12-30 22:07:54 -06:00
|
|
|
/*
|
|
|
|
* Copyright 2020, Jaidyn Levesque <jadedctrl@teknik.io>
|
|
|
|
* All rights reserved. Distributed under the terms of the MIT license.
|
|
|
|
*/
|
2020-08-02 03:29:56 -05:00
|
|
|
#ifndef MIME_H
|
|
|
|
#define MIME_H
|
|
|
|
|
2020-12-30 22:07:54 -06:00
|
|
|
#include <SupportDefs.h>
|
|
|
|
#include <TypeConstants.h>
|
2020-08-02 03:29:56 -05:00
|
|
|
|
|
|
|
|
2020-12-30 22:07:54 -06:00
|
|
|
class BMessage;
|
|
|
|
|
|
|
|
|
2021-01-12 15:30:21 -06:00
|
|
|
bool installMimeTypes();
|
2020-12-30 22:07:54 -06:00
|
|
|
bool feedMimeType();
|
2021-01-12 15:30:21 -06:00
|
|
|
bool feedEntryMimeType();
|
2020-12-30 22:07:54 -06:00
|
|
|
|
|
|
|
static void addAttribute(BMessage&, const char*, const char*,
|
|
|
|
int32 type = B_STRING_TYPE, int32 width = 200);
|
2020-08-02 03:29:56 -05:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|
2020-12-30 22:07:54 -06:00
|
|
|
|