home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / k3bdvdjob.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-05-27  |  1.3 KB  |  58 lines

  1. /* 
  2.  *
  3.  * $Id: k3bdvdjob.h 619556 2007-01-03 17:38:12Z trueg $
  4.  * Copyright (C) 2003 Sebastian Trueg <trueg@k3b.org>
  5.  *
  6.  * This file is part of the K3b project.
  7.  * Copyright (C) 1998-2007 Sebastian Trueg <trueg@k3b.org>
  8.  *
  9.  * This program is free software; you can redistribute it and/or modify
  10.  * it under the terms of the GNU General Public License as published by
  11.  * the Free Software Foundation; either version 2 of the License, or
  12.  * (at your option) any later version.
  13.  * See the file "COPYING" for the exact licensing terms.
  14.  */
  15.  
  16.  
  17. #ifndef _K3B_DVD_JOB_H_
  18. #define _K3B_DVD_JOB_H_
  19.  
  20. #include <k3bdatajob.h>
  21.  
  22. #include <qfile.h>
  23.  
  24. class K3bDataDoc;
  25. class K3bGrowisofsWriter;
  26.  
  27.  
  28. class K3bDvdJob : public K3bDataJob
  29. {
  30.   Q_OBJECT
  31.  
  32.  public:
  33.   /**
  34.    * To be more flexible we allow writing of any data doc
  35.    */
  36.   K3bDvdJob( K3bDataDoc*, K3bJobHandler*, QObject* parent = 0 );
  37.   virtual ~K3bDvdJob();
  38.  
  39.   virtual QString jobDescription() const;
  40.   virtual QString jobDetails() const;
  41.  
  42.  protected:
  43.   void prepareData();
  44.   virtual bool prepareWriterJob();
  45.   void determineMultiSessionMode();
  46.   K3bDataDoc::MultiSessionMode getMultiSessionMode( const K3bDevice::DiskInfo& );
  47.   bool waitForMedium();
  48.   int requestMedia( int state );
  49.  
  50.  private:
  51.   K3bDataDoc* m_doc;
  52.  
  53.   class Private;
  54.   Private* d;
  55. };
  56.  
  57. #endif
  58.