1 // Copyright (c) 1994 James Clark 2 // See the file COPYING for copying permission. 3 #pragma ident "%Z%%M% %I% %E% SMI" 4 5 #ifndef UnicodeCodingSystem_INCLUDED 6 #define UnicodeCodingSystem_INCLUDED 1 7 8 #include "CodingSystem.h" 9 10 #ifdef SP_NAMESPACE 11 namespace SP_NAMESPACE { 12 #endif 13 14 class SP_API UnicodeCodingSystem : public CodingSystem { 15 public: 16 UnicodeCodingSystem(const InputCodingSystem *sub = 0); 17 Decoder *makeDecoder() const; 18 Encoder *makeEncoder() const; 19 unsigned fixedBytesPerChar() const; 20 private: 21 const InputCodingSystem *sub_; 22 }; 23 24 #ifdef SP_NAMESPACE 25 } 26 #endif 27 28 #endif /* not UnicodeCodingSystem_INCLUDED */ 29