[solang] Support archives in BraseroDestination



commit 33f176b58144209ff12201ad7bda600dd1a98862
Author: Debarshi Ray <rishi gnu org>
Date:   Sun Mar 14 03:44:54 2010 +0200

    Support archives in BraseroDestination

 src/exporter/brasero-destination.cpp |    5 +++--
 src/exporter/brasero-destination.h   |    2 ++
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/exporter/brasero-destination.cpp b/src/exporter/brasero-destination.cpp
index c44340c..9731103 100644
--- a/src/exporter/brasero-destination.cpp
+++ b/src/exporter/brasero-destination.cpp
@@ -34,6 +34,7 @@ namespace Solang
 
 BraseroDestination::BraseroDestination() throw() :
     PhotoDestination(),
+    createArchive_(false),
     braseroDrive_(0),
     braseroSessionCfg_(0),
     braseroTrackDataCfg_(0),
@@ -152,7 +153,7 @@ BraseroDestination::get_name() const throw()
 gint
 BraseroDestination::get_options() const throw()
 {
-    return PHOTO_DESTINATION_CREATE_ARCHIVE_FALSE;
+    return PHOTO_DESTINATION_CREATE_ARCHIVE_OPTIONAL;
 }
 
 Gtk::StockID
@@ -164,7 +165,7 @@ BraseroDestination::get_stock_id() const throw()
 void
 BraseroDestination::set_create_archive(bool value) throw()
 {
-    // NB: Creation of archives is not supported.
+    createArchive_ = value;
 }
 
 void
diff --git a/src/exporter/brasero-destination.h b/src/exporter/brasero-destination.h
index 7b199e8..0ba23bb 100644
--- a/src/exporter/brasero-destination.h
+++ b/src/exporter/brasero-destination.h
@@ -88,6 +88,8 @@ class BraseroDestination :
         void
         brasero_burn_begin_idle() throw();
 
+        bool createArchive_;
+
         BraseroDrive * braseroDrive_;
 
         BraseroSessionCfg * braseroSessionCfg_;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]