diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-03 02:15:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-03 02:15:56 +0000 |
commit | 50b48aec6ddd451a6d1709c0942477b503457663 (patch) | |
tree | a9ece53ec06fd0a2819de7a2a6de997193566626 /src/rip/k3bvideocdrippingoptions.h | |
download | k3b-50b48aec6ddd451a6d1709c0942477b503457663.tar.gz k3b-50b48aec6ddd451a6d1709c0942477b503457663.zip |
Added abandoned KDE3 version of K3B
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1084400 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/rip/k3bvideocdrippingoptions.h')
-rw-r--r-- | src/rip/k3bvideocdrippingoptions.h | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/src/rip/k3bvideocdrippingoptions.h b/src/rip/k3bvideocdrippingoptions.h new file mode 100644 index 0000000..bd8aea9 --- /dev/null +++ b/src/rip/k3bvideocdrippingoptions.h @@ -0,0 +1,74 @@ +/* + * + * $Id: k3bvideocdrippingoptions.h 619556 2007-01-03 17:38:12Z trueg $ + * Copyright (C) 2003 Christian Kvasny <[email protected]> + * + * This file is part of the K3b project. + * Copyright (C) 1998-2007 Sebastian Trueg <[email protected]> + * + * 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. + * See the file "COPYING" for the exact licensing terms. + */ + +#ifndef _K3B_VIDEOCD_OPTIONS_H_ +#define _K3B_VIDEOCD_OPTIONS_H_ + +#include <qstring.h> + +class K3bVideoCdRippingOptions +{ + public: + K3bVideoCdRippingOptions() + : m_videocdsize( 0 ), + m_videocdsource( "/dev/cdrom" ), + m_videocddestination( "/tmp" ), + m_videocddescription( i18n( "Video CD" ) ), + m_videocdripfiles( false ), + m_videocdripsegments( false ), + m_videocdripsequences( false ), + m_ignoreExt( false ), + m_sector2336( false ), + m_extractXML( false ) + {} + + void setVideoCdSize( unsigned long size ) { m_videocdsize = size;} + void setVideoCdSource( const QString& source ) { m_videocdsource = source;} + void setVideoCdDestination( const QString& destination ) { m_videocddestination = destination;} + void setVideoCdDescription( const QString& description ) { m_videocddescription = description;} + void setVideoCdRipFiles( bool ripfiles ) { m_videocdripfiles = ripfiles;} + void setVideoCdRipSegments( bool ripsegments ) { m_videocdripsegments = ripsegments;} + void setVideoCdRipSequences( bool ripsequences ) { m_videocdripsequences = ripsequences;} + void setVideoCdIgnoreExt( bool ignoreext ) { m_ignoreExt = ignoreext;} + void setVideoCdSector2336( bool sector2336 ) { m_sector2336 = sector2336;} + void setVideoCdExtractXml( bool extractxml ) { m_extractXML = extractxml;} + + unsigned long getVideoCdSize( ) { return m_videocdsize;} + QString getVideoCdSource( ) { return m_videocdsource;} + QString getVideoCdDestination( ) { return m_videocddestination;} + QString getVideoCdDescription( ) { return m_videocddescription;} + bool getVideoCdRipFiles( ) { return m_videocdripfiles;} + bool getVideoCdRipSegments( ) { return m_videocdripsegments;} + bool getVideoCdRipSequences( ) { return m_videocdripsequences;} + bool getVideoCdIgnoreExt( ) { return m_ignoreExt;} + bool getVideoCdSector2336( ) { return m_sector2336;} + bool getVideoCdExtractXml( ) { return m_extractXML;} + + private: + unsigned long m_videocdsize; + + QString m_videocdsource; + QString m_videocddestination; + QString m_videocddescription; + + bool m_videocdripfiles; + bool m_videocdripsegments; + bool m_videocdripsequences; + bool m_ignoreExt; + bool m_sector2336; + bool m_extractXML; +}; + +#endif |