[Title] add project type for hybrid app
authoryoonki.park <yoonki.park@samsung.com>
Mon, 6 Aug 2012 12:28:27 +0000 (21:28 +0900)
committeryoonki.park <yoonki.park@samsung.com>
Mon, 6 Aug 2012 13:44:52 +0000 (22:44 +0900)
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#] 6031
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: Id9b265690d862dd1c3d8b7d428f2386a58704f4d

org.tizen.common/src/org/tizen/common/IApplicationConfiguration.java
org.tizen.common/src/org/tizen/common/TizenProjectType.java [new file with mode: 0644]

index 494ff4d..466a059 100755 (executable)
@@ -34,5 +34,6 @@ package org.tizen.common;
 public interface IApplicationConfiguration {\r
     public String getDefaultConfiguration();\r
     public String getBinaryName();\r
-    public boolean isServiceProject();\r
+    public String getPackageName();\r
+    public TizenProjectType getTizenProjectType();\r
 }\r
diff --git a/org.tizen.common/src/org/tizen/common/TizenProjectType.java b/org.tizen.common/src/org/tizen/common/TizenProjectType.java
new file mode 100644 (file)
index 0000000..126151b
--- /dev/null
@@ -0,0 +1,41 @@
+/*
+* TizenProjectType.java
+*
+* Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+*
+* Contact:
+* Kangho Kim <kh5225.kim@samsung.com>
+* Gun Kim <gune.kim@samsung.com>
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+* Contributors:
+* - S-Core Co., Ltd
+*
+*/
+package org.tizen.common;
+
+/**
+ * Represents that TIZEN supports the given project types.
+ */
+public enum TizenProjectType {
+    TIZEN_C_UI_APPLICATION,
+    TIZEN_C_SERVICE_APPLICATION,
+    TIZEN_C_SHAREDLIBRARY,
+    TIZEN_C_STATICLIBRARY,
+    TIZEN_CPP_UI_APPLICATION,
+    TIZEN_CPP_SERVICE_APPLICATION,
+    TIZEN_CPP_SHAREDLIBRARY,
+    TIZEN_CPP_STATICLIBRARY,
+    TIZEN_PLATFORM_PROJECT;
+}