Switch to unified view

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
enum UnacOp {UNACOP_UNAC = 1, UNACOP_FOLD = 2, UNACOP_UNACFOLD = 3};
28
extern bool unacmaybefold(const string& in, string& out, 
28
extern bool unacmaybefold(const string& in, string& out, 
29
              const char *encoding, UnacOp what);
29
              const char *encoding, UnacOp what);
30
30
31
// Utility function to determine if string begins with capital
31
// Utility function to determine if string begins with capital
32
extern bool unaciscapital(const string& in);
32
extern bool unaciscapital(const string& in);
33
// Utility function to determine if string has upper-case anywhere
34
extern bool unachasuppercase(const string& in);
35
// Utility function to determine if any character is accented. This
36
// approprialey ignores the characters from unac_except_chars which
37
// are really separate letters
38
extern bool unachasaccents(const string& in);
33
39
34
#endif /* _UNACPP_H_INCLUDED_ */
40
#endif /* _UNACPP_H_INCLUDED_ */