Last change
on this file was 2772, checked in by bird, 19 years ago |
wchar_t can be anything, it doesn't even have to be unicode.
|
File size:
793 bytes
|
Rev | Line | |
---|
[2749] | 1 | /*
|
---|
| 2 | * synergy -- mouse and keyboard sharing utility
|
---|
| 3 | * Copyright (C) 2002 Chris Schoeneman
|
---|
[2772] | 4 | *
|
---|
[2749] | 5 | * This package is free software; you can redistribute it and/or
|
---|
| 6 | * modify it under the terms of the GNU General Public License
|
---|
| 7 | * found in the file COPYING that should have accompanied this file.
|
---|
[2772] | 8 | *
|
---|
[2749] | 9 | * This package is distributed in the hope that it will be useful,
|
---|
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 12 | * GNU General Public License for more details.
|
---|
| 13 | */
|
---|
| 14 |
|
---|
| 15 | #include "CArchStringUnix.h"
|
---|
| 16 | #include <stdio.h>
|
---|
| 17 |
|
---|
| 18 | //
|
---|
| 19 | // CArchStringUnix
|
---|
| 20 | //
|
---|
| 21 |
|
---|
| 22 | #include "CMultibyte.cpp"
|
---|
| 23 | #include "vsnprintf.cpp"
|
---|
| 24 |
|
---|
| 25 | IArchString::EWideCharEncoding
|
---|
| 26 | CArchStringUnix::getWideCharEncoding()
|
---|
| 27 | {
|
---|
[2772] | 28 | return sizeof(wchar_t) == 2 ? kUTF16 : kUCS4;
|
---|
[2749] | 29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.