LibreOffice Module comphelper (master)
1
include
comphelper
mediamimetype.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*/
9
10
#pragma once
11
12
#include <
sal/config.h
>
13
14
#include <string_view>
15
16
#include <rtl/ustring.hxx>
17
18
#include <
comphelper/comphelperdllapi.h
>
19
20
inline
constexpr
OUStringLiteral
AVMEDIA_MIMETYPE_COMMON
=
u
"application/vnd.sun.star.media"
;
21
22
namespace
comphelper
23
{
24
COMPHELPER_DLLPUBLIC
auto
IsMediaMimeType
(::std::string_view
const
rMimeType) -> bool;
25
COMPHELPER_DLLPUBLIC
auto
IsMediaMimeType
(OUString
const
& rMimeType) -> bool;
26
COMPHELPER_DLLPUBLIC
auto
GuessMediaMimeType
(::std::u16string_view rFileName) -> OUString;
27
28
}
// namespace comphelper
29
30
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
comphelperdllapi.h
COMPHELPER_DLLPUBLIC
#define COMPHELPER_DLLPUBLIC
Definition:
comphelperdllapi.h:27
config.h
u
float u
AVMEDIA_MIMETYPE_COMMON
constexpr OUStringLiteral AVMEDIA_MIMETYPE_COMMON
Definition:
mediamimetype.hxx:20
comphelper
comphelper::GuessMediaMimeType
auto GuessMediaMimeType(::std::u16string_view rFileName) -> OUString
Definition:
graphicmimetype.cxx:222
comphelper::IsMediaMimeType
auto IsMediaMimeType(::std::string_view const rMimeType) -> bool
Definition:
graphicmimetype.cxx:203
Generated on Sun Jul 30 2023 04:30:36 for LibreOffice Module comphelper (master) by
1.9.3