filename parser for tag editor, renaming files support, minor fixes

This commit is contained in:
unK
2008-09-12 22:06:48 +02:00
parent 8fb83ac476
commit 2605b29dd9
14 changed files with 529 additions and 120 deletions

View File

@@ -75,6 +75,9 @@ class Song
void SetComment(const string &str) { itsComment = str; }
void SetPosition(int pos) { itsPosition = pos; }
void SetNewName(string name) { itsNewName = name == itsShortName ? "" : name; }
string GetNewName() const { return itsNewName; }
void GetEmptyFields(bool get) { itsGetEmptyFields = get; }
void Clear();
bool Empty() const;
@@ -85,6 +88,7 @@ class Song
private:
string itsFile;
string itsShortName;
string itsNewName;
string itsDirectory;
string itsArtist;
string itsTitle;