profuse/MacRoman.h
ksherlock e36eb445bf MacRoman -> Unicode
git-svn-id: https://profuse.googlecode.com/svn/trunk@63 aa027e90-d47c-11dd-86d7-074df07e0730
2009-09-15 00:04:55 +00:00

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