/***************************************************************************
                            kde_KURLList.h -  description
                             -------------------
    begin                : Mon Aug 13 09:51:26 2001
    copyright            : (C) 2000-2001 by Richard Dale
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Mon Aug 13 09:51:26 2001, using kdoc $.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU 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_KURLLIST
#define KDE_KURLLIST

#include <qtc/qtc_types.h>
#include <kdec/kde_types.h>


/** 
 API
     
*/
kde_KURLList * kde_new_KURLList();
void kde_del_KURLList( kde_KURLList* p );
//Iterator* kde_KURLList_begin(kde_KURLList* instPointer);
int kde_KURLList_begin1(kde_KURLList* instPointer);
//Iterator* kde_KURLList_end(kde_KURLList* instPointer);
int kde_KURLList_end1(kde_KURLList* instPointer);
//Iterator* kde_KURLList_fromLast(kde_KURLList* instPointer);
int kde_KURLList_fromLast1(kde_KURLList* instPointer);
int kde_KURLList_isEmpty(kde_KURLList* instPointer);
//Iterator* kde_KURLList_insert(kde_KURLList* instPointer,Iterator* it, kde_KURL* x);
void kde_KURLList_append(kde_KURLList* instPointer,kde_KURL* x);
//Iterator* kde_KURLList_prepend(kde_KURLList* instPointer,kde_KURL* x);
//Iterator* kde_KURLList_remove(kde_KURLList* instPointer,Iterator* it);
void kde_KURLList_remove1(kde_KURLList* instPointer,kde_KURL* x);
kde_KURL* kde_KURLList_first(kde_KURLList* instPointer);
kde_KURL* kde_KURLList_first1(kde_KURLList* instPointer);
kde_KURL* kde_KURLList_last(kde_KURLList* instPointer);
kde_KURL* kde_KURLList_last1(kde_KURLList* instPointer);
//Iterator* kde_KURLList_at(kde_KURLList* instPointer,unsigned int i);
kde_KURL* kde_KURLList_at(kde_KURLList* instPointer,unsigned int i);
//Iterator* kde_KURLList_find(kde_KURLList* instPointer,kde_KURL* x);
int kde_KURLList_find1(kde_KURLList* instPointer,kde_KURL* x);
//Iterator* kde_KURLList_find2(kde_KURLList* instPointer,Iterator* it, kde_KURL* x);
int kde_KURLList_find3(kde_KURLList* instPointer,int it, kde_KURL* x);
int kde_KURLList_findIndex(kde_KURLList* instPointer,kde_KURL* x);
unsigned int kde_KURLList_contains(kde_KURLList* instPointer,kde_KURL* x);
unsigned int kde_KURLList_count(kde_KURLList* instPointer);
void kde_KURLList_clear(kde_KURLList* instPointer);

/**
 Helpers

*/
void kde_KURLList_detach(kde_KURLList* instPointer);

#endif
