* See the License for the specific language governing permissions and
* limitations under the License.
*/
-/**
- * @file view_logic_user_agent_support.h
- * @author Jaroslaw Osmanski (j.osmanski@samsung.com)
- * @brief Header file of UserAgentSupport API used by ViewLogic
+/*
+ * @file view_logic_orientation_support.h
+ * @author Jihoon Chung (jihoon.chung@samsung.com)
+ * @version 1.0
*/
-#ifndef VIEW_LOGIC_USER_AGENT_SUPPORT_H_
-#define VIEW_LOGIC_USER_AGENT_SUPPORT_H_
+#ifndef VIEW_LOGIC_ORIENTATION_SUPPORT_H_
+#define VIEW_LOGIC_ORIENTATION_SUPPORT_H_
-#include <string>
+#include <Elementary.h>
namespace ViewModule {
-namespace UserAgentSupport {
-std::string getUserAgentFromVconf();
-} // namespace UserAgentSupport
+namespace OrientationSupport {
+enum class Mode {
+PORTRAIT_PRIMARY = 0,
+LANDSCAPE_PRIMARY,
+PORTRAIT_SECONDARY,
+LANDSCAPE_SECONDARY
+};
+void setOrientation(Evas_Object* window,
+ Evas_Object* ewk,
+ Mode orientation);
+void setOrientation(Evas_Object* window,
+ Evas_Object* ewk,
+ int ewkOrientation);
+} // namespace OrientationSupport
} // namespace ViewModule
-#endif /* VIEW_LOGIC_USER_AGENT_SUPPORT_H_ */
+#endif // VIEW_LOGIC_ORIENTATION_SUPPORT_H_
\ No newline at end of file