OSDN Git Service

upgrade to 3.6.1
[jnethack/source.git] / win / Qt4 / qt4str.h
1 // Copyright (c) Warwick Allison, 1999.
2 // Qt4 conversion copyright (c) Ray Chason, 2012-2014.
3 // NetHack may be freely redistributed.  See license for details.
4
5 // qt4str.h -- various string functions
6
7 #ifndef QT4STR_H
8 #define QT4STR_H
9
10 namespace nethack_qt4 {
11
12 // Bounded string copy
13 extern size_t str_copy(char *dest, const char *src, size_t max);
14
15 // Case mappings
16 extern QString str_titlecase(const QString& str);
17 extern QString nh_capitalize_words(const QString& str);
18
19 // Map symbol conversion
20 extern int cp437(int ch);
21
22 } // namespace nethack_qt4
23
24 #endif