|
From: <pst...@us...> - 2008-03-30 12:42:48
|
Revision: 365
http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=365&view=rev
Author: pstieber
Date: 2008-03-30 05:42:46 -0700 (Sun, 30 Mar 2008)
Log Message:
-----------
Made cosmetic style changes.
Modified Paths:
--------------
trunk/jazz/src/Song.cpp
trunk/jazz/src/Song.h
Modified: trunk/jazz/src/Song.cpp
===================================================================
--- trunk/jazz/src/Song.cpp 2008-03-30 12:21:10 UTC (rev 364)
+++ trunk/jazz/src/Song.cpp 2008-03-30 12:42:46 UTC (rev 365)
@@ -61,7 +61,7 @@
return mTracks[0].GetDefaultSpeed();
}
-void JZSong::Read(tReadBase &io, const char *fname)
+void JZSong::Read(tReadBase& Io, const char* pFileName)
{
int i;
wxBeginBusyCursor();
@@ -69,13 +69,13 @@
{
mTracks[i].Clear();
}
- int n = io.Open(fname);
+ int n = Io.Open(pFileName);
for (i = 0; i < n && i < eMaxTrackCount; ++i)
{
- mTracks[i].Read(io);
+ mTracks[i].Read(Io);
}
- io.Close();
- TicksPerQuarter = io.TicksPerQuarter;
+ Io.Close();
+ TicksPerQuarter = Io.TicksPerQuarter;
if (TicksPerQuarter < 48)
{
@@ -97,7 +97,7 @@
}
-void JZSong::Write(tWriteBase &io, const char *fname)
+void JZSong::Write(tWriteBase& Io, const char* pFileName)
{
// Make sure track 0 has a synth reset
if (!mTracks[0].Reset)
@@ -106,7 +106,7 @@
}
int n = NumUsedTracks();
- if (!io.Open(fname, n, TicksPerQuarter))
+ if (!Io.Open(pFileName, n, TicksPerQuarter))
{
return;
}
@@ -114,9 +114,9 @@
wxBeginBusyCursor();
for (int i = 0; i < n; ++i)
{
- mTracks[i].Write(io);
+ mTracks[i].Write(Io);
}
- io.Close();
+ Io.Close();
wxEndBusyCursor();
}
Modified: trunk/jazz/src/Song.h
===================================================================
--- trunk/jazz/src/Song.h 2008-03-30 12:21:10 UTC (rev 364)
+++ trunk/jazz/src/Song.h 2008-03-30 12:42:46 UTC (rev 365)
@@ -83,8 +83,8 @@
virtual ~JZSong();
void Clear();
- void Read(tReadBase &io, const char *fname = 0);
- void Write(tWriteBase &io, const char *fname = 0);
+ void Read(tReadBase& Io, const char* pFileName = 0);
+ void Write(tWriteBase& Io, const char* pFileName = 0);
JZTrack *GetTrack(int Nr);
int GetLastClock();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|