Imported Upstream version 16.3.2
[platform/upstream/libzypp.git] / zypp / SrcPackage.h
index 18bc42f..01d8861 100644 (file)
@@ -36,10 +36,15 @@ namespace zypp
     typedef TraitsType::constPtrType constPtr;
 
   public:
+    /** The type of the source rpm ("src" or "nosrc"). */
+    std::string sourcePkgType() const;
+
     /** location of resolvable in repo */
     OnMediaLocation location() const;
 
   protected:
+    friend Ptr make<Self>( const sat::Solvable & solvable_r );
+    /** Ctor */
     SrcPackage( const sat::Solvable & solvable_r );
     /** Dtor */
     virtual ~SrcPackage();