[mousetrap/gnome3-wip: 12/240] added modules(feature_detector, heads_up_display, image_library, motion_tracker, pointer_manager)-roland



commit 46043df08f55ed5df2bbc1518cfa2fdfbfdb45c6
Author: Roland Murdock <Data cs064098 csnet wne edu>
Date:   Thu Apr 17 10:07:09 2014 -0400

    added modules(feature_detector,heads_up_display,image_library,motion_tracker,pointer_manager)-roland

 src/mousetrap/core/feature_detector.py |   29 ++++++++++++++++++++++++
 src/mousetrap/core/heads_up_display.py |   29 ++++++++++++++++++++++++
 src/mousetrap/core/image_library.py    |   29 ++++++++++++++++++++++++
 src/mousetrap/core/motion_tracker.py   |   29 ++++++++++++++++++++++++
 src/mousetrap/core/pointer_manager.py  |   29 ++++++++++++++++++++++++
 src/mousetrap/mousetrap                |   38 ++++++++++++++++++++++++++++++++
 6 files changed, 183 insertions(+), 0 deletions(-)
---
diff --git a/src/mousetrap/core/feature_detector.py b/src/mousetrap/core/feature_detector.py
new file mode 100644
index 0000000..5010de9
--- /dev/null
+++ b/src/mousetrap/core/feature_detector.py
@@ -0,0 +1,29 @@
+# -*- coding: utf-8 -*-
+
+# MouseTrap
+#
+# Copyright 2009 Flavio Percoco Premoli
+#
+# This file is part of mouseTrap.
+#
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
+#
+# mouseTrap 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
+__copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
+__license__   = "GPLv2"
+
+
+class FeatureDetector(object):
+    pass
diff --git a/src/mousetrap/core/heads_up_display.py b/src/mousetrap/core/heads_up_display.py
new file mode 100644
index 0000000..324c0fb
--- /dev/null
+++ b/src/mousetrap/core/heads_up_display.py
@@ -0,0 +1,29 @@
+# -*- coding: utf-8 -*-
+
+# MouseTrap
+#
+# Copyright 2009 Flavio Percoco Premoli
+#
+# This file is part of mouseTrap.
+#
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
+#
+# mouseTrap 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
+__copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
+__license__   = "GPLv2"
+
+
+class HeadsUpDisplay(object):
+    pass
diff --git a/src/mousetrap/core/image_library.py b/src/mousetrap/core/image_library.py
new file mode 100644
index 0000000..6be0e5c
--- /dev/null
+++ b/src/mousetrap/core/image_library.py
@@ -0,0 +1,29 @@
+# -*- coding: utf-8 -*-
+
+# MouseTrap
+#
+# Copyright 2009 Flavio Percoco Premoli
+#
+# This file is part of mouseTrap.
+#
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
+#
+# mouseTrap 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
+__copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
+__license__   = "GPLv2"
+
+
+class ImageLibrary(object):
+    pass
diff --git a/src/mousetrap/core/motion_tracker.py b/src/mousetrap/core/motion_tracker.py
new file mode 100644
index 0000000..de978e8
--- /dev/null
+++ b/src/mousetrap/core/motion_tracker.py
@@ -0,0 +1,29 @@
+# -*- coding: utf-8 -*-
+
+# MouseTrap
+#
+# Copyright 2009 Flavio Percoco Premoli
+#
+# This file is part of mouseTrap.
+#
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
+#
+# mouseTrap 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
+__copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
+__license__   = "GPLv2"
+
+
+class MotionTracker(object):
+    pass
diff --git a/src/mousetrap/core/pointer_manager.py b/src/mousetrap/core/pointer_manager.py
new file mode 100644
index 0000000..e29f810
--- /dev/null
+++ b/src/mousetrap/core/pointer_manager.py
@@ -0,0 +1,29 @@
+# -*- coding: utf-8 -*-
+
+# MouseTrap
+#
+# Copyright 2009 Flavio Percoco Premoli
+#
+# This file is part of mouseTrap.
+#
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
+#
+# mouseTrap 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
+__copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
+__license__   = "GPLv2"
+
+
+class PointerManager(object):
+    pass
diff --git a/src/mousetrap/mousetrap b/src/mousetrap/mousetrap
new file mode 100755
index 0000000..81c2924
--- /dev/null
+++ b/src/mousetrap/mousetrap
@@ -0,0 +1,38 @@
+#!/usr/bin/python
+
+# MouseTrap
+#
+# Copyright 2009 Flavio Percoco Premoli
+#
+# This file is part of mouseTrap.
+#
+# MouseTrap is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License v2 as published
+# by the Free Software Foundation.
+#
+# mouseTrap 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+
+# This script performs some clean up and will run mousetrap.  It will also
+# rerun mousetrap if it detects that mousetrap died an unnatural death.
+# IMPORTANT: Parts of this script have been taken from the Orcas launch script. Thanks!!
+
+#__id__        = "$Id$"
+#__version__   = "$Revision$"
+#__date__      = "$Date$"
+#__copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
+#__license__   = "GPLv2"
+
+# Amend search path to include the "site-package" directory where mousetrap is
+# installed.
+import sys
+sys.path.append('/usr/local/lib64/python2.7/site-packages')
+
+# Load and start the mousetrap controller.
+import mousetrap.main as mousetrap
+mousetrap.Controller().start()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]