Patch, Script and Messahe have always zero size...
authorJiri Srain <jsrain@suse.cz>
Thu, 24 Nov 2005 16:59:19 +0000 (16:59 +0000)
committerJiri Srain <jsrain@suse.cz>
Thu, 24 Nov 2005 16:59:19 +0000 (16:59 +0000)
zypp/detail/Makefile.am
zypp/detail/MessageImplIf.h
zypp/detail/PatchImplIf.h
zypp/detail/ScriptImplIf.h
zypp/source/yum/YUMMessageImpl.cc
zypp/source/yum/YUMMessageImpl.h
zypp/source/yum/YUMScriptImpl.cc
zypp/source/yum/YUMScriptImpl.h

index bfaecdf..e81f190 100644 (file)
@@ -34,6 +34,9 @@ lib@PACKAGE@_detail_la_SOURCES = \
        ResolvableImpl.cc       \
        ResObjectImplIf.cc      \
        PackageImplIf.cc        \
+       MessageImplIf.cc        \
+       ScriptImplIf.cc         \
+       PatchImplIf.cc          \
        \
        \
        \
index a724966..5c51d0c 100644 (file)
@@ -40,6 +40,8 @@ namespace zypp
       virtual std::string text() const = 0;
       /** Get the type of the message (YesNo / OK) */
       virtual std::string type() const = 0;
+      /** */
+      virtual FSize size() const;
     };
     ///////////////////////////////////////////////////////////////////
 
index 1d136c4..dbeee4f 100644 (file)
@@ -50,6 +50,8 @@ namespace zypp
       virtual bool reboot_needed() const = 0;
       /** Does the patch affect the package manager itself? */
       virtual bool affects_pkg_manager() const = 0;
+      /** */
+      virtual FSize size() const;
 
       /** Is the patch installation interactive? (does it need user input?) */
       virtual bool interactive() = 0;
index 985ff4d..d6c8f80 100644 (file)
@@ -42,6 +42,8 @@ namespace zypp
       virtual std::string undo_script() const = 0;
       /** Check whether script to undo the change is available */
       virtual bool undo_available() const = 0;
+      /** */
+      virtual FSize size() const;
     };
     ///////////////////////////////////////////////////////////////////
 
index 263596e..576f314 100644 (file)
@@ -58,9 +58,6 @@ namespace zypp
       Text YUMMessageImpl::delnotify() const
       { return ResObjectImplIf::delnotify(); }
 
-      FSize YUMMessageImpl::size() const
-      { return ResObjectImplIf::size(); }
-
       bool YUMMessageImpl::providesSources() const
       { return ResObjectImplIf::providesSources(); }
 
index 865ea8e..92a69b3 100644 (file)
@@ -48,8 +48,6 @@ namespace zypp
        /** */
        virtual Text delnotify() const;
        /** */
-       virtual FSize size() const;
-       /** */
        virtual bool providesSources() const;
        /** */
        virtual Label instSrcLabel() const;
index 135e288..f4cdfca 100644 (file)
@@ -65,9 +65,6 @@ namespace zypp
       Text YUMScriptImpl::delnotify() const
       { return ResObjectImplIf::delnotify(); }
 
-      FSize YUMScriptImpl::size() const
-      { return ResObjectImplIf::size(); }
-
       bool YUMScriptImpl::providesSources() const
       { return ResObjectImplIf::providesSources(); }
 
index 35da351..b2e95ad 100644 (file)
@@ -45,7 +45,6 @@ namespace zypp
        virtual Text description() const;
        virtual Text insnotify() const;
        virtual Text delnotify() const;
-       virtual FSize size() const;
        virtual bool providesSources() const;
        virtual Label instSrcLabel() const;
        virtual Vendor instSrcVendor() const;