summaryrefslogtreecommitdiffstats
path: root/addon/xmlread/strx.h
blob: ee58791e6b0a8537c6e73143b44fa25847064d16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _STRX_H
#define _STRX_H

// ---------------------------------------------------------------------------
//  Includes for all the program files to see
// ---------------------------------------------------------------------------
#include "qtbc.h"
#include <iostream.h>

/*!
 *  This is a simple wrapper class around QCString that lets us do easy 
 *  trancoding of XMLCh data to local code page for display.
 */
class StrX : public QCString
{
  public:
    /*! Constructor */
    StrX(const XMLCh* const toTranscode) : 
         QCString(XMLString::transcode(toTranscode)) {}
    /*! Destructor */
    ~StrX() {}
};

#endif