latest changes from main repository

This commit is contained in:
Guenter Obiltschnig
2007-04-25 08:39:02 +00:00
parent f29f7cda53
commit 3e46ab332b
60 changed files with 1619 additions and 163 deletions

View File

@@ -1,7 +1,7 @@
//
// Windows1252Encoding.h
//
// $Id: //poco/Main/Foundation/include/Poco/Windows1252Encoding.h#2 $
// $Id: //poco/Main/Foundation/include/Poco/Windows1252Encoding.h#3 $
//
// Library: Foundation
// Package: Text
@@ -9,7 +9,7 @@
//
// Definition of the Windows1252Encoding class.
//
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
// Copyright (c) 2005-2007, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free of charge, to any person or organization
@@ -53,11 +53,14 @@ class Foundation_API Windows1252Encoding: public TextEncoding
public:
Windows1252Encoding();
~Windows1252Encoding();
const char* canonicalName() const;
bool isA(const std::string& encodingName) const;
const CharacterMap& characterMap() const;
int convert(const unsigned char* bytes) const;
int convert(int ch, unsigned char* bytes, int length) const;
private:
static const char* _names[];
static const CharacterMap _charMap;
};