Block different type installation with same pkgid
[platform/core/appfw/app-installers.git] / src / common / pkgmgr_interface.h
index ded0faf..e085018 100644 (file)
@@ -86,6 +86,14 @@ class PkgMgrInterface {
       std::shared_ptr<AppQueryInterface> interface);
 
   /**
+   * Get AppQueryInterface for current request
+   *
+   * \return AppQueryInterface ptr if current AppQueryInterface exist.
+   *         Otherwise, return null shared_ptr
+   */
+  std::shared_ptr<AppQueryInterface> GetAppQueryInterface();
+
+  /**
    * Returns Request type passed from pkgmgr_installer
    *
    * \param idx index of request