/***************************************************************************
                            kde_OfferList.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_OFFERLIST
#define KDE_OFFERLIST

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


/** 
 API
     
*/
kde_OfferList * kde_new_OfferList();
void kde_del_OfferList( kde_OfferList* p );
//Iterator* kde_OfferList_begin(kde_OfferList* instPointer);
int kde_OfferList_begin1(kde_OfferList* instPointer);
//Iterator* kde_OfferList_end(kde_OfferList* instPointer);
int kde_OfferList_end1(kde_OfferList* instPointer);
//Iterator* kde_OfferList_fromLast(kde_OfferList* instPointer);
int kde_OfferList_fromLast1(kde_OfferList* instPointer);
int kde_OfferList_isEmpty(kde_OfferList* instPointer);
//Iterator* kde_OfferList_insert(kde_OfferList* instPointer,Iterator* it, kde_KService* x);
//Iterator* kde_OfferList_append(kde_OfferList* instPointer,kde_KService* x);
//Iterator* kde_OfferList_prepend(kde_OfferList* instPointer,kde_KService* x);
//Iterator* kde_OfferList_remove(kde_OfferList* instPointer,Iterator* it);
void kde_OfferList_remove1(kde_OfferList* instPointer,kde_KService* x);
kde_KService* kde_OfferList_first(kde_OfferList* instPointer);
kde_KService* kde_OfferList_first1(kde_OfferList* instPointer);
kde_KService* kde_OfferList_last(kde_OfferList* instPointer);
kde_KService* kde_OfferList_last1(kde_OfferList* instPointer);
//Iterator* kde_OfferList_at(kde_OfferList* instPointer,unsigned int i);
int kde_OfferList_at1(kde_OfferList* instPointer,unsigned int i);
//Iterator* kde_OfferList_find(kde_OfferList* instPointer,kde_KService* x);
int kde_OfferList_find1(kde_OfferList* instPointer,kde_KService* x);
//Iterator* kde_OfferList_find2(kde_OfferList* instPointer,Iterator* it, kde_KService* x);
int kde_OfferList_find3(kde_OfferList* instPointer,int it, kde_KService* x);
int kde_OfferList_findIndex(kde_OfferList* instPointer,kde_KService* x);
unsigned int kde_OfferList_contains(kde_OfferList* instPointer,kde_KService* x);
unsigned int kde_OfferList_count(kde_OfferList* instPointer);
void kde_OfferList_clear(kde_OfferList* instPointer);

/**
 Helpers

*/
//void kde_OfferList_detach(kde_OfferList* instPointer);

#endif
