|
a/src/common/unacpp.h |
|
b/src/common/unacpp.h |
|
... |
|
... |
22 |
#ifndef NO_NAMESPACES
|
22 |
#ifndef NO_NAMESPACES
|
23 |
using std::string;
|
23 |
using std::string;
|
24 |
#endif /* NO_NAMESPACES */
|
24 |
#endif /* NO_NAMESPACES */
|
25 |
|
25 |
|
26 |
// A small stringified wrapper for unac.c
|
26 |
// A small stringified wrapper for unac.c
|
|
|
27 |
enum UnacOp {UNACOP_UNAC, UNACOP_UNACFOLD, UNACOP_FOLD};
|
27 |
extern bool unacmaybefold(const string& in, string& out,
|
28 |
extern bool unacmaybefold(const string& in, string& out,
|
28 |
const char *encoding, bool dofold);
|
29 |
const char *encoding, UnacOp what);
|
29 |
|
30 |
|
30 |
// Utility function to determine if string begins with capital
|
31 |
// Utility function to determine if string begins with capital
|
31 |
extern bool unaciscapital(const string& in);
|
32 |
extern bool unaciscapital(const string& in);
|
32 |
|
33 |
|
33 |
#endif /* _UNACPP_H_INCLUDED_ */
|
34 |
#endif /* _UNACPP_H_INCLUDED_ */
|