/***************************************************************************
                            KSycocaEntry.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

/**

 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.
*/
public class KSycocaEntry extends KShared  {
	protected KSycocaEntry(Class dummy){super((Class) null);}

	public native boolean isType( int t);
	public native int sycocaType();

/** 

*/
	public native String name();

/** 

*/
	public native String entryPath();

/** 

*/
	public native boolean isValid();

/** 

*/
	public native boolean isDeleted();

/** 

*/
	public native int offset();

/** 

 Save ourselves to the database. Don't forget to call the parent class
 first if you override this function.
    
*/
	public native void save( QDataStream s);

/** 

 Load ourselves from the database. Don't call the parent class!
    
*/
	public native void load( QDataStream arg1);
}
