2001-09-26 04:40:45 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2013-01-13 22:06:28 +04:00
|
|
|
#ifndef nsGBKConvUtil_h_
|
|
|
|
#define nsGBKConvUtil_h_
|
2001-05-15 16:33:38 +04:00
|
|
|
#include "nscore.h"
|
|
|
|
class nsGBKConvUtil {
|
|
|
|
public:
|
2007-04-23 18:21:53 +04:00
|
|
|
nsGBKConvUtil() { }
|
|
|
|
~nsGBKConvUtil() { }
|
2001-05-15 16:33:38 +04:00
|
|
|
PRUnichar GBKCharToUnicode(char aByte1, char aByte2);
|
2011-09-29 10:19:26 +04:00
|
|
|
bool UnicodeToGBKChar(PRUnichar aChar, bool aToGL,
|
2001-05-15 16:33:38 +04:00
|
|
|
char* aOutByte1, char* aOutByte2);
|
|
|
|
};
|
2013-01-13 22:06:28 +04:00
|
|
|
#endif /* nsGBKConvUtil_h_ */
|