Qtopia Home - Classes - Annotated - Functions - Qt Embedded

gsmcodec.h

This is the verbatim text of the gsmcodec.h include file. It is provided only for illustration; the copyright remains with Trolltech.


/**********************************************************************
** Copyright (C) 2000-2003 Trolltech AS.  All rights reserved.
**
** This file is part of the Qtopia Environment.
**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
** See http://www.trolltech.com/gpl/ for GPL licensing information.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/

#ifndef GSM_CODEC
#define GSM_CODEC

#include <qstring.h>

class GSMCodec
{
public:
    GSMCodec();
    ~GSMCodec();

    QString toLatin1(const char *, int len) const;
    unsigned char toLatin1(unsigned char c);
    
    QString fromLatin1(const QString &) const;
    unsigned char fromLatin1(unsigned char c);
    unsigned char fromLatin1NoLoss(unsigned char c);

private:
    void init();

};

#endif


Copyright © 2001-2004 Trolltech Trademarks
Qtopia version 2.0.1