mirror of
https://github.com/ksherlock/profuse.git
synced 2024-12-23 11:31:43 +00:00
e36eb445bf
git-svn-id: https://profuse.googlecode.com/svn/trunk@63 aa027e90-d47c-11dd-86d7-074df07e0730
27 lines
356 B
C++
27 lines
356 B
C++
|
|
#ifndef __MACROMAN_H__
|
|
#define __MACROMAN_H__
|
|
|
|
#include <string>
|
|
|
|
class MacRoman {
|
|
public:
|
|
MacRoman(const std::string& string);
|
|
|
|
bool isASCII() const;
|
|
std::string toUTF8() const;
|
|
std::wstring toWString() const;
|
|
|
|
|
|
private:
|
|
std::string _string;
|
|
};
|
|
|
|
inline MacRoman::MacRoman(const std::string& string) :
|
|
_string(string)
|
|
{
|
|
}
|
|
|
|
#endif
|
|
|