Sayonara Player
Public Types | Signals | Public Member Functions | List of all members
Library::CopyThread Class Reference

The CopyThread class. More...

#include <CopyThread.h>

Inheritance diagram for Library::CopyThread:

Public Types

enum  Mode : uint8_t {
  Copy =0,
  Rollback
}
 

Signals

void sig_progress (int)
 

Public Member Functions

 CopyThread (const QString &target_dir, ImportCachePtr cache, QObject *parent=nullptr)
 
int get_n_copied_files () const
 
bool was_cancelled () const
 
void cancel ()
 
MetaDataList get_copied_metadata () const
 
void set_mode (CopyThread::Mode mode)
 

Detailed Description

The CopyThread class.