00001 /* 00002 Copyright (C) 2007 Remon Sijrier 00003 00004 This file is part of Traverso 00005 00006 Traverso is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 00019 */ 00020 00021 #ifndef ARM_TRACKS_H 00022 #define ARM_TRACKS_H 00023 00024 #include "Command.h" 00025 00026 #include <QList> 00027 00028 class SheetView; 00029 class Track; 00030 00031 class ArmTracks : public Command 00032 { 00033 00034 public : 00035 ArmTracks(SheetView* view); 00036 ~ArmTracks(); 00037 00038 int begin_hold(); 00039 int finish_hold(); 00040 int prepare_actions(); 00041 int do_action(); 00042 int undo_action(); 00043 00044 int jog(); 00045 00046 private: 00047 SheetView* m_sv; 00048 QList<Track* > m_tracks; 00049 }; 00050 00051 #endif 00052
1.5.5