Add GetIndex() funtion to AppInstallers 04/231104/1
authorIlho Kim <ilho159.kim@samsung.com>
Fri, 17 Apr 2020 07:18:35 +0000 (16:18 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Fri, 17 Apr 2020 07:26:58 +0000 (16:26 +0900)
Change-Id: Ia4ead65854b454659a1cbdd68e478aad0ae89f74
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/common/app_installer.h

index 9d7a1b5..8e7baeb 100644 (file)
@@ -250,6 +250,10 @@ class AppInstaller {
     index_ = index;
   }
 
+  int GetIndex() {
+    return index_;
+  }
+
   virtual std::unique_ptr<ArchiveInfo> GetArchiveInfo() = 0;
 
  protected: