Imported Upstream version 14.45.0
[platform/upstream/libzypp.git] / zypp / target / TargetImpl.h
index 21f4b04..0b6c015 100644 (file)
@@ -67,6 +67,9 @@ namespace zypp
       /** Dtor. */
       virtual ~TargetImpl();
 
+      /** Null implementation */
+      static TargetImpl_Ptr nullimpl();
+
       /**
        * generates the unique anonymous id which is called
        * when creating the target
@@ -177,7 +180,7 @@ namespace zypp
       /** \overload */
       static std::string targetDistributionFlavor( const Pathname & root_r );
 
-      /** \copydoc Target::distributionLabel()*/
+      /** \copydoc Target::distributionVersion()*/
       Target::DistributionLabel distributionLabel() const;
       /** \overload */
       static Target::DistributionLabel distributionLabel( const Pathname & root_r );
@@ -218,6 +221,10 @@ namespace zypp
       HardLocksFile _hardLocksFile;
       /** Cache distributionVersion */
       mutable std::string _distributionVersion;
+
+    private:
+      /** Null implementation */
+      static TargetImpl_Ptr _nullimpl;
     };
     ///////////////////////////////////////////////////////////////////