- label string added to the request media callback
authorJan Kupec <jkupec@suse.cz>
Wed, 12 Mar 2008 10:34:13 +0000 (10:34 +0000)
committerJan Kupec <jkupec@suse.cz>
Wed, 12 Mar 2008 10:34:13 +0000 (10:34 +0000)
zypp/MediaSetAccess.cc
zypp/ZYppCallbacks.h

index 045bffd..ad73849 100644 (file)
@@ -147,6 +147,7 @@ IMPL_PTR_TYPE(MediaSetAccess);
           user = report->requestMedia (
               _url,
               media_nr,
+              string(), //! \todo label
               reason,
               excp.asUserString(),
               excp.devices(),
@@ -261,6 +262,7 @@ IMPL_PTR_TYPE(MediaSetAccess);
             report->requestMedia (
               _url,
               media_nr,
+              string(), //! \todo label
               reason,
               excp.asUserString(),
               excp.devices(),
@@ -397,6 +399,7 @@ IMPL_PTR_TYPE(MediaSetAccess);
 
           user = report->requestMedia(_url,
                                       media_nr,
+                                      string(), //! \todo label
                                       reason,
                                       excp.asUserString(),
                                       excp.devices(),
index 8909c14..ae66432 100644 (file)
@@ -300,8 +300,9 @@ namespace zypp
        * \param url         in: url for which the media is requested,
        *                    out: url to use instead of the original one
        * \param mediumNr    requested medium number
+       * \param label       label of requested medium
        * \param error       type of error from \ref Error enum
-       * \param description
+       * \param description error message (media not desired or error foo occured)
        * \param devices     list of the available devices (for eject)
        * \param dev_current in: index of the currently used device in the \a devices list
        *                    out: index of the devices to be ejected in the \a devices list 
@@ -310,6 +311,7 @@ namespace zypp
       virtual Action requestMedia(
         Url & /* url (I/O parameter) */
         , unsigned /*mediumNr*/
+        , const std::string & /* label */
         , Error /*error*/
         , const std::string & /*description*/
         , const std::vector<std::string> & /* devices */