This is the verbatim text of the qshared.h include file. It is is provided only for illustration; the copyright remains with Troll Tech


/****************************************************************************
** $Id: qshared.h,v 2.1 1997/08/06 15:05:54 hanord Exp $
**
** Definition of QShared struct
**
** Created : 940112
**
** Copyright (C) 1994-1997 by Troll Tech AS.  All rights reserved.
**
*****************************************************************************/

#ifndef QSHARED_H
#define QSHARED_H

#include "qglobal.h"


struct QShared
{
    QShared()           { count = 1; }
    void ref()          { count++; }
    bool deref()        { return !--count; }
    uint count;
};


#endif // QSHARED_H


Generated at 23:50, 1998/03/16 for Qt version 1.33 by the webmaster at Troll Tech