We'll keep most command stack functionality in a new hooke.command_stack
authorW. Trevor King <wking@drexel.edu>
Thu, 12 Aug 2010 11:25:56 +0000 (07:25 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 12 Aug 2010 11:25:56 +0000 (07:25 -0400)
hooke/command_stack.py [new file with mode: 0644]
hooke/plugin/command_stack.py

diff --git a/hooke/command_stack.py b/hooke/command_stack.py
new file mode 100644 (file)
index 0000000..cebf0b9
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2010 W. Trevor King <wking@drexel.edu>
+#
+# This file is part of Hooke.
+#
+# Hooke 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.
+#
+# Hooke 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 Hooke.  If not, see
+# <http://www.gnu.org/licenses/>.
+
+"""The ``command_stack`` module provides tools for managing stacks of
+:class:`~hooke.engine.CommandMessage`\s and applying those stacks to
+:class:`~hooke.curve.Curve`\s.
+"""
+
+from .command import Command, Argument, Failure
+from .engine import CommandMessage
+from .playlist import NoteIndexList
index fc696a76a003742031e67187a73c02b6711e9de3..ab75ce40182cafb785a883c84e408a024c10681b 100644 (file)
 # <http://www.gnu.org/licenses/>.
 
 """The ``command_stack`` module provides :class:`CommandStackPlugin`
-and several associated :class:`~hooke.command.Command`\s for managing
-stacks of :class:`~hooke.engine.CommandMessage`\s and applying those
-stacks to :class:`~hooke.curve.Curve`\s.
+and several associated :class:`~hooke.command.Command`\s exposing
+:mod`hooke.command_stack`'s functionality.
 """
 
-import os.path
-import string
-
-from .. import curve as lhc
-from .. import libinput as linput
+from ..command import Command, Argument, Failure
+from ..plugin import Builtin
+from .curve import CurveCommand
 
 class macroCommands(object):