source: vendor/synergy/current/lib/arch/CArchStringUnix.h

Last change on this file was 2749, checked in by bird, 19 years ago

synergy v1.3.1 sources (zip).

File size: 1.1 KB
Line 
1/*
2 * synergy -- mouse and keyboard sharing utility
3 * Copyright (C) 2002 Chris Schoeneman
4 *
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.
8 *
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#ifndef CARCHSTRINGUNIX_H
16#define CARCHSTRINGUNIX_H
17
18#include "IArchString.h"
19
20#define ARCH_STRING CArchStringUnix
21
22//! Unix implementation of IArchString
23class CArchStringUnix : public IArchString {
24public:
25 CArchStringUnix();
26 virtual ~CArchStringUnix();
27
28 // IArchString overrides
29 virtual int vsnprintf(char* str,
30 int size, const char* fmt, va_list ap);
31 virtual int convStringMBToWC(wchar_t*,
32 const char*, UInt32 n, bool* errors);
33 virtual int convStringWCToMB(char*,
34 const wchar_t*, UInt32 n, bool* errors);
35 virtual EWideCharEncoding
36 getWideCharEncoding();
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.