+++ /dev/null
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-
-# ****************************************************************************
-# Copyright (c) 2008 Zagaia - INdT/Fucapi.
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License for more details.
-
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-# ============================================================================
-# Project Name :PC Remote
-# Author :Andre Portela
-# Email :andre_portela_@hotmail.com
-# Version :1.0
-# Module :main
-# Class :PCRemote custom Edje object with it's own call backs for the
-# main screen
-# ============================================================================
-
-from ecore import main_loop_begin
-import ecore.evas
-import sys
-import os
-from edje_objects import *
-from connection.iconnection import Iconnection
-from screenmanager import ScreenManager
-
-width, height = 800, 480
-
-#any argument deactivates fullscreen
-if sys.argv.__len__() > 1:
- screen = False
-else:
- screen = True
-#if x11_16 is present, get it, otherwise get x11
-if ecore.evas.engine_type_supported_get("software_x11_16"):
- engine = ecore.evas.SoftwareX11_16
-else:
- engine = ecore.evas.SoftwareX11
-#create the evas canvas
-canvas = EvasCanvas(fullscreen=screen,engine=engine,size=(width, height))
-#main .edj path
-edje_file = os.path.join(os.path.dirname(sys.argv[0]), "pcremote.edj")
-#the bluetooth socket object shared by all screens
-sock = Iconnection('bluetooth')
-#main edje object
-main = MainScreen(canvas=canvas, file=edje_file, group="Main",name="Main", connection = sock)
-main.show()
-#future edje objects
-tablet, slide, player, torrent = None, None, None, None
-#focus on main edje object
-main.focus = True
-#this object connects all screens together
-manager = ScreenManager(main, tablet, slide, player, torrent, sock)
-
-ecore.main_loop_begin()
-