/***************************************************************************
                            kde_CopyJob.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_COPYJOB
#define KDE_COPYJOB

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**
*/
#define COPYJOB_Copy	0
#define COPYJOB_Move	1
#define COPYJOB_Link	2
kde_CopyJob * kde_new_CopyJob(kde_KURLList* src, kde_KURL* dest, int mode, int asMethod, int showProgressInfo);
kde_KURLList* kde_CopyJob_srcURLs(kde_CopyJob* instPointer);
kde_KURL* kde_CopyJob_destURL(kde_CopyJob* instPointer);
void kde_CopyJob_statNextSrc(kde_CopyJob* instPointer);
void kde_CopyJob_slotResultStating(kde_CopyJob* instPointer,kde_Job* job);
void kde_CopyJob_startListing(kde_CopyJob* instPointer,kde_KURL* src);
void kde_CopyJob_slotResultCreatingDirs(kde_CopyJob* instPointer,kde_Job* job);
void kde_CopyJob_slotResultConflictCreatingDirs(kde_CopyJob* instPointer,kde_Job* job);
void kde_CopyJob_createNextDir(kde_CopyJob* instPointer);
void kde_CopyJob_slotResultCopyingFiles(kde_CopyJob* instPointer,kde_Job* job);
void kde_CopyJob_slotResultConflictCopyingFiles(kde_CopyJob* instPointer,kde_Job* job);
void kde_CopyJob_copyNextFile(kde_CopyJob* instPointer);
void kde_CopyJob_slotResultDeletingDirs(kde_CopyJob* instPointer,kde_Job* job);
void kde_CopyJob_deleteNextDir(kde_CopyJob* instPointer);
void kde_CopyJob_skip(kde_CopyJob* instPointer,kde_KURL* sourceURL);
void kde_CopyJob_slotStart(kde_CopyJob* instPointer);
//void kde_CopyJob_slotEntries(kde_CopyJob* instPointer,kde_Job* arg1, kde_UDSEntryList* list);
void kde_CopyJob_slotResult(kde_CopyJob* instPointer,kde_Job* job);

/** 
 Forward signal from subjob
         
*/
void kde_CopyJob_slotProcessedSize(kde_CopyJob* instPointer,kde_Job* arg1, unsigned long data_size);

/** 
 Forward signal from subjob
         
*/
void kde_CopyJob_slotTotalSize(kde_CopyJob* instPointer,kde_Job* arg1, unsigned long size);
void kde_CopyJob_slotReport(kde_CopyJob* instPointer);

#endif
