/***************************************************************************
                            kde_kdbgstream.h -  description
                             -------------------
    begin                : Sun Nov 24 16:54:36 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Nov 24 16:54:36 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_KDBGSTREAM
#define KDE_KDBGSTREAM

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**
*
 kdbgstream is a text stream that allows you to print debug messages.
 Using the overloaded "<<" operator you can send messages. Usually 
 you do not create the kdbgstream yourself, but use @ref kdDebug()
 @ref kdWarning(), @ref kdError() or @ref kdFatal to obtain one.

 Example:
 <pre>
    int i = 5;
    kdDebug() << "The value of i is " << i << endl;
 </pre>

 @short *
 kdbgstream is a text stream that allows you to print debug messages.
*/

/** *

   
*/
kde_kdbgstream * kde_new_kdbgstream(unsigned int _area, unsigned int _level, int _print);
kde_kdbgstream * kde_new_kdbgstream1(char* initialString, unsigned int _area, unsigned int _level, int _print);
//kde_kdbgstream * kde_new_kdbgstream2(kde_Kdbgstream* str);
//kde_kdbgstream * kde_new_kdbgstream3(kde_Kdbgstream* str);
void kde_del_kdbgstream( kde_kdbgstream* p );

/** *
 Flushes the output.
     
*/
void kde_kdbgstream_flush(kde_kdbgstream* instPointer);

#endif
