| 1 | /* $XFree86: xc/programs/xterm/wcwidth.h,v 1.2 2001/06/18 19:09:27 dickey Exp $ */ | 
|---|---|
| 2 | |
| 3 | /* Markus Kuhn -- 2001-01-12 -- public domain */ | 
| 4 | /* Adaptions for KDE by Waldo Bastian <bastian@kde.org> */ | 
| 5 | /* | 
| 6 | Rewritten for QT4 by e_k <e_k at users.sourceforge.net> | 
| 7 | */ | 
| 8 | |
| 9 | |
| 10 | #ifndef _KONSOLE_WCWIDTH_H_ | 
| 11 | #define _KONSOLE_WCWIDTH_H_ | 
| 12 | |
| 13 | // Standard | 
| 14 | #include <string> | 
| 15 | |
| 16 | int konsole_wcwidth(wchar_t ucs); | 
| 17 | |
| 18 | int string_width( const std::wstring & wstr ); | 
| 19 | |
| 20 | #endif | 
| 21 | 
