Introduce new solvable kind: Application (as provided by appdata.xml)
[platform/upstream/libzypp.git] / zypp / ResTraits.h
index dd1723e..42e4324 100644 (file)
@@ -57,6 +57,7 @@ namespace zypp
    *
    * \note When adding a \c NewResolvable type here, dont forgett to
    * put <tt>IMPL_PTR_TYPE(NewResolvable);</tt> into the \c NewResolvable.cc.
+   * Also check class \ref ResKind, ResKind.cc, ResObject.cc(makeResObject)
    */
   //@{
   DEFINE_PTR_TYPE( Resolvable );
@@ -67,6 +68,7 @@ namespace zypp
   DEFINE_PTR_TYPE( Pattern );
   DEFINE_PTR_TYPE( Product );
   DEFINE_PTR_TYPE( Patch );
+  DEFINE_PTR_TYPE( Application );
   //@}
 
   /** Frequently associated. */
@@ -80,7 +82,7 @@ namespace zypp
       typedef intrusive_ptr<_Res>       PtrType;
       typedef intrusive_ptr<const _Res> constPtrType;
 
-      static const ResKind              kind;
+      static const ResKind              kind;  ///< Defined in ResKind.cc
 
       /** Those are denoted to be installed, if the
        *  solver verifies them as being satisfied. */