Gosu
Gosu
Utility.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
namespace
Gosu
6
{
7
std::u32string
utf8_to_composed_utc4
(
const
std::string& utf8);
8
11
bool
has_extension
(std::string_view filename, std::string_view extension);
12
16
std::string
language
();
17
18
class
Noncopyable
19
{
20
protected
:
21
Noncopyable
() =
default
;
22
~Noncopyable
() =
default
;
23
24
public
:
25
Noncopyable
(
const
Noncopyable
& other) =
delete
;
26
Noncopyable
&
operator=
(
const
Noncopyable
& other) =
delete
;
27
28
Noncopyable
(
Noncopyable
&& other) =
delete
;
29
Noncopyable
&
operator=
(
Noncopyable
&& other) =
delete
;
30
};
31
}
Gosu::Noncopyable::operator=
Noncopyable & operator=(const Noncopyable &other)=delete
Gosu
Definition:
Audio.hpp:12
Gosu::has_extension
bool has_extension(std::string_view filename, std::string_view extension)
Returns true if the filename has the given extension.
Gosu::Noncopyable::~Noncopyable
~Noncopyable()=default
Gosu::language
std::string language()
Returns the user's preferred language, at the moment of calling the function.
Gosu::utf8_to_composed_utc4
std::u32string utf8_to_composed_utc4(const std::string &utf8)
Gosu::Noncopyable::Noncopyable
Noncopyable()=default
Gosu::Noncopyable
Definition:
Utility.hpp:18
Generated by
1.8.13