Fix TpkArchiveInfo 52/243552/2
authorSangyoon Jang <jeremy.jang@samsung.com>
Tue, 8 Sep 2020 05:57:31 +0000 (14:57 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Tue, 8 Sep 2020 09:52:11 +0000 (18:52 +0900)
- Make visibility of member method as protected for extendability.
- Export tpk_archive_info.h header.

Change-Id: I3175665e52ff604ae318af8d110bb27eed240432
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/lib/CMakeLists.txt
src/lib/tpk_archive_info.h

index f8b0604036bd8e3fb25873d8683f62578834d407..c25e68e808442974ca3c4a4a3df411efc074ad4e 100644 (file)
@@ -14,3 +14,4 @@ APPLY_PKG_CONFIG(${TARGET_LIBNAME_TPK_ARCHIVE_INFO} PUBLIC
 )
 
 INSTALL(TARGETS ${TARGET_LIBNAME_TPK_ARCHIVE_INFO} DESTINATION ${SYSCONF_INSTALL_DIR}/package-manager/backendlib)
+INSTALL(FILES tpk_archive_info.h DESTINATION ${INCLUDEDIR}/app-installers/tpk/)
\ No newline at end of file
index 693da3998c7dab9baec189742867041e37dc7f43..ebcfa19787e3e4b46d5bae421ebd6e44b0efeb9d 100644 (file)
@@ -21,7 +21,7 @@ class TpkArchiveInfo : public common_installer::ArchiveInfo {
       : common_installer::ArchiveInfo(path) { }
   bool LoadArchiveInfo() override;
 
- private:
+ protected:
   bool GetPackageInfo(const tpk::parse::TPKConfigParser& parser);
   bool GetAuthorInfo(const tpk::parse::TPKConfigParser& parser);
   bool GetPrivilegesInfo(const tpk::parse::TPKConfigParser& parser);