mirror of
https://github.com/DanielSWolf/rhubarb-lip-sync.git
synced 2026-11-21 12:25:08 +00:00
17 lines
493 B
C++
17 lines
493 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <boost/optional.hpp>
|
|
|
|
std::vector<std::string> splitIntoLines(const std::string& s);
|
|
|
|
std::vector<std::string> wrapSingleLineString(const std::string& s, int lineLength, int hangingIndent = 0);
|
|
|
|
std::vector<std::string> wrapString(const std::string& s, int lineLength, int hangingIndent = 0);
|
|
|
|
std::wstring latin1ToWide(const std::string& s);
|
|
|
|
boost::optional<char> toASCII(char32_t ch);
|
|
|
|
std::string toASCII(const std::u32string& s); |