1*0Sstevel@tonic-gate // Copyright (c) 1994 James Clark 2*0Sstevel@tonic-gate // See the file COPYING for copying permission. 3*0Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 4*0Sstevel@tonic-gate 5*0Sstevel@tonic-gate #ifndef IdentityCodingSystem_INCLUDED 6*0Sstevel@tonic-gate #define IdentityCodingSystem_INCLUDED 1 7*0Sstevel@tonic-gate 8*0Sstevel@tonic-gate #include "CodingSystem.h" 9*0Sstevel@tonic-gate 10*0Sstevel@tonic-gate #ifdef SP_NAMESPACE 11*0Sstevel@tonic-gate namespace SP_NAMESPACE { 12*0Sstevel@tonic-gate #endif 13*0Sstevel@tonic-gate 14*0Sstevel@tonic-gate class SP_API IdentityCodingSystem : public CodingSystem { 15*0Sstevel@tonic-gate public: 16*0Sstevel@tonic-gate IdentityCodingSystem(); 17*0Sstevel@tonic-gate Decoder *makeDecoder() const; 18*0Sstevel@tonic-gate Encoder *makeEncoder() const; 19*0Sstevel@tonic-gate Boolean isIdentity() const; 20*0Sstevel@tonic-gate }; 21*0Sstevel@tonic-gate 22*0Sstevel@tonic-gate #ifdef SP_NAMESPACE 23*0Sstevel@tonic-gate } 24*0Sstevel@tonic-gate #endif 25*0Sstevel@tonic-gate 26*0Sstevel@tonic-gate #endif /* not IdentityCodingSystem_INCLUDED */ 27