/***************************************************************************
                            kde_KSycocaEntry.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 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_KSYCOCAENTRY
#define KDE_KSYCOCAENTRY

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 Base class for all entries.
 You can't create instance of KSycocaEntry, but it provides
 the common functionality for servicetypes and services.
 
 @short 
 Base class for all entries.
*/
//int kde_KSycocaEntry_isType(kde_KSycocaEntry* instPointer,kde_KSycocaType* t);
//kde_KSycocaType* kde_KSycocaEntry_sycocaType(kde_KSycocaEntry* instPointer);

/** 

*/
qt_QString * kde_KSycocaEntry_name(kde_KSycocaEntry* instPointer);

/** 

*/
qt_QString * kde_KSycocaEntry_entryPath(kde_KSycocaEntry* instPointer);

/** 

*/
int kde_KSycocaEntry_isValid(kde_KSycocaEntry* instPointer);

/** 

*/
int kde_KSycocaEntry_isDeleted(kde_KSycocaEntry* instPointer);

/** 

*/
int kde_KSycocaEntry_offset(kde_KSycocaEntry* instPointer);

/** 

 Save ourselves to the database. Don't forget to call the parent class
 first if you override this function.
    
*/
void kde_KSycocaEntry_save(kde_KSycocaEntry* instPointer,qt_QDataStream * s);

/** 

 Load ourselves from the database. Don't call the parent class!
    
*/
void kde_KSycocaEntry_load(kde_KSycocaEntry* instPointer,qt_QDataStream * arg1);

#endif
