From: <pst...@us...> - 2011-07-28 13:25:15
|
Revision: 847 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=847&view=rev Author: pstieber Date: 2011-07-28 13:25:07 +0000 (Thu, 28 Jul 2011) Log Message: ----------- Removed the old clock code. Modified Paths: -------------- trunk/jazz/src/Makefile.am Removed Paths: ------------- trunk/jazz/src/ClockDialog.cpp trunk/jazz/src/ClockDialog.h Deleted: trunk/jazz/src/ClockDialog.cpp =================================================================== --- trunk/jazz/src/ClockDialog.cpp 2011-07-28 12:52:40 UTC (rev 846) +++ trunk/jazz/src/ClockDialog.cpp 2011-07-28 13:25:07 UTC (rev 847) @@ -1,67 +0,0 @@ -//***************************************************************************** -// The JAZZ++ Midi Sequencer -// -// Copyright (C) 1994-2000 Andreas Voss and Per Sigmond, all rights reserved. -// Modifications Copyright (C) 2004 Patrick Earl -// Modifications Copyright (C) 2008-2010 Peter J. Stieber -// -// This program is free software; you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2 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 General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -//***************************************************************************** - -#include "ClockDialog.h" - -#include "Song.h" -#include "DeprecatedStringUtils.h" -#include "DeprecatedWx/proplist.h" - -#include <string> - -using namespace std; - -//***************************************************************************** -// Description: -// This is the clock dialog class declaration. -//***************************************************************************** -//----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -JZClockDialog::JZClockDialog(JZSong* pSong, const char* pTitle, int Clock) -{ - pSong->ClockToString(Clock, mString); - mpTitle = pTitle; - mpSong = pSong; -} - -//----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -JZClockDialog::~JZClockDialog() -{ -} - -//----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -wxProperty* JZClockDialog::mkProperty() -{ - return new wxProperty( - mpTitle, - wxPropertyValue((char**)&mString.c_str()), - "string"); -} - -//----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -int JZClockDialog::GetClock() -{ - return mpSong->StringToClock(mString.c_str()); -} Deleted: trunk/jazz/src/ClockDialog.h =================================================================== --- trunk/jazz/src/ClockDialog.h 2011-07-28 12:52:40 UTC (rev 846) +++ trunk/jazz/src/ClockDialog.h 2011-07-28 13:25:07 UTC (rev 847) @@ -1,54 +0,0 @@ -//***************************************************************************** -// The JAZZ++ Midi Sequencer -// -// Copyright (C) 1994-2000 Andreas Voss and Per Sigmond, all rights reserved. -// Modifications Copyright (C) 2004 Patrick Earl -// Modifications Copyright (C) 2008-2010 Peter J. Stieber -// -// This program is free software; you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2 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 General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -//***************************************************************************** - -#ifndef JZ_CLOCKDIALOG_H -#define JZ_CLOCKDIALOG_H - -class JZSong; -class wxProperty; - -//***************************************************************************** -//***************************************************************************** -class JZClockDialog -{ - public: - - JZClockDialog(JZSong* pSong, const char* pTitle, int Clock); - - ~JZClockDialog(); - -// wxFormItem *mkFormItem(int w); - - wxProperty* mkProperty(); - - int GetClock(); - - private: - - char* mpString; - - const char* mpTitle; - - JZSong* mpSong; -}; - -#endif // !defined(JZ_CLOCKDIALOG_H) Modified: trunk/jazz/src/Makefile.am =================================================================== --- trunk/jazz/src/Makefile.am 2011-07-28 12:52:40 UTC (rev 846) +++ trunk/jazz/src/Makefile.am 2011-07-28 13:25:07 UTC (rev 847) @@ -14,7 +14,6 @@ AsciiMidiFile.cpp \ Audio.cpp \ AudioDriver.cpp \ -ClockDialog.cpp \ Command.cpp \ Configuration.cpp \ ControlEdit.cpp \ @@ -112,7 +111,6 @@ AboutDialog.cpp \ AsciiMidiFile.cpp \ Audio.cpp \ -ClockDialog.cpp \ Command.cpp \ Configuration.cpp \ ControlEdit.cpp \ @@ -215,7 +213,6 @@ AsciiMidiFile.h \ Audio.h \ AudioDriver.h \ -ClockDialog.h \ Command.h \ Configuration.h \ ControlEdit.h \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |