Author: jbevain
Date: 2007-09-19 19:33:54 -0400 (Wed, 19 Sep 2007)
New Revision: 86052
Modified:
trunk/moon/src/playlist.cpp
trunk/moon/src/playlist.h
Log:
rename PlaylistParser::entry to current_entry
Modified: trunk/moon/src/playlist.cpp
===================================================================
--- trunk/moon/src/playlist.cpp 2007-09-19 23:28:39 UTC (rev 86051)
+++ trunk/moon/src/playlist.cpp 2007-09-19 23:33:54 UTC (rev 86052)
@@ -326,7 +326,7 @@
PlaylistParser::PlaylistParser (Playlist *playlist)
{
this->playlist = playlist;
- entry = NULL;
+ current_entry = NULL;
parser = XML_ParserCreate (NULL);
kind_stack = new List ();
@@ -463,8 +463,8 @@
PlaylistContent *
PlaylistParser::GetCurrentContent ()
{
- if (entry != NULL)
- return entry;
+ if (current_entry != NULL)
+ return current_entry;
return playlist;
}
@@ -472,7 +472,7 @@
PlaylistEntry *
PlaylistParser::GetCurrentEntry ()
{
- return entry;
+ return current_entry;
}
void
@@ -480,12 +480,12 @@
{
PlaylistEntry *entry = new PlaylistEntry ();
playlist->AddEntry (entry);
- this->entry = entry;
+ current_entry = entry;
}
void PlaylistParser::EndEntry ()
{
- this->entry = NULL;
+ this->current_entry = NULL;
}
void
Modified: trunk/moon/src/playlist.h
===================================================================
--- trunk/moon/src/playlist.h 2007-09-19 23:28:39 UTC (rev 86051)
+++ trunk/moon/src/playlist.h 2007-09-19 23:33:54 UTC (rev 86052)
@@ -96,7 +96,7 @@
class PlaylistParser {
private:
Playlist *playlist;
- PlaylistEntry *entry;
+ PlaylistEntry *current_entry;
XML_Parser parser;
enum PlaylistNodeKind {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches