Remove unnecessary code 45/56745/1
authorLukasz Wysocki <l.wysocki@samsung.com>
Tue, 12 Jan 2016 10:13:32 +0000 (11:13 +0100)
committerLukasz Wysocki <l.wysocki@samsung.com>
Tue, 12 Jan 2016 10:13:32 +0000 (11:13 +0100)
Change-Id: If4c4224c67c0647f5e0c0d63198291a53b5a349b

src/manifest_parser/CMakeLists.txt
src/manifest_parser/manifest_constants.h [deleted file]
src/manifest_parser/manifest_handler.cc
src/manifest_parser/manifest_handler.h
src/tpk_manifest_handlers/tpk_config_parser.cc

index 4b2fbb9ee4754e2350d3a2784253068876f637a6..8d837bd69c6ec6f03249c844b6ca1b796de1b22f 100644 (file)
@@ -10,7 +10,6 @@ SET(SRCS
 
 SET(INCLUDES
   ${CMAKE_CURRENT_SOURCE_DIR}/manifest.h
-  ${CMAKE_CURRENT_SOURCE_DIR}/manifest_constants.h
   ${CMAKE_CURRENT_SOURCE_DIR}/manifest_handler.h
   ${CMAKE_CURRENT_SOURCE_DIR}/manifest_parser.h
   ${CMAKE_CURRENT_SOURCE_DIR}/permission_types.h
diff --git a/src/manifest_parser/manifest_constants.h b/src/manifest_parser/manifest_constants.h
deleted file mode 100644 (file)
index bc97bb8..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
-// Use of this source code is governed by an apache 2.0 license that can be
-// found in the LICENSE file.
-
-#ifndef MANIFEST_PARSER_MANIFEST_CONSTANTS_H_
-#define MANIFEST_PARSER_MANIFEST_CONSTANTS_H_
-
-namespace parser {
-
-  // TODO(p.sikorski): it is now used in app-installer. It should be firstly
-  // removed from there, and then this can be also removed
-  const char kWidgetKey[] = "widget";
-
-}  // namespace parser
-
-#endif  // MANIFEST_PARSER_MANIFEST_CONSTANTS_H_
index 82c80b22b9c822251eb5d81d9993a5842d597eee..62b055108fca245141dc25098df9803871abe63a 100644 (file)
@@ -16,9 +16,6 @@ const char kNamespaceKey[] = "@namespace";
 
 namespace parser {
 
-// TODO(p.sikorski): temporary place for this key
-const char kW3CNamespacePrefix[] = "http://www.w3.org/ns/widgets";
-
 ManifestHandler::~ManifestHandler() {
 }
 
index 124c96b7071a160232940fd951219b896f72214f..e3de0b67d892847494331b9a1559c430dfd0a4bb 100644 (file)
 #include <vector>
 
 #include "manifest_parser/manifest.h"
-#include "manifest_parser/manifest_constants.h"
 
 namespace parser {
 
-// TODO(p.sikorski): temporary place for this key
-extern const char kW3CNamespacePrefix[];
-
 // A base class for parsed manifest data that APIs want to store on
 // the application.
 class ManifestData {
index 620368da7615d4ab497d97b3ab84dd79efec960d..caadf06221a72a495e635f717186ccff07448619 100644 (file)
@@ -10,7 +10,6 @@
 #include <vector>
 
 #include "manifest_parser/manifest_handler.h"
-#include "manifest_parser/manifest_constants.h"
 #include "utils/iri_util.h"
 #include "utils/logging.h"