filename parser for tag editor, renaming files support, minor fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user