Skip to content

Commit f3b26c0

Browse files
authored
Merge pull request #6 from rabbitholecomputing/virtualize
Make public methods virtual
2 parents 708b2f8 + 29cd30c commit f3b26c0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/CUEParser.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,18 +98,18 @@ class CUEParser
9898
CUEParser(const char *cue_sheet);
9999

100100
// Restart parsing from beginning of file
101-
void restart();
101+
virtual void restart();
102102

103103
// Get information for next track.
104104
// Returns nullptr when there are no more tracks.
105105
// The returned pointer remains valid until next call to next_track()
106106
// or destruction of this object.
107-
const CUETrackInfo *next_track();
107+
virtual const CUETrackInfo *next_track();
108108

109109
// Same as next_track(), but takes the file size into account when
110110
// switching files. This is necessary for getting the correct track
111111
// lengths when the .cue file references multiple .bin files.
112-
const CUETrackInfo *next_track(uint64_t prev_file_size);
112+
virtual const CUETrackInfo *next_track(uint64_t prev_file_size);
113113

114114
protected:
115115
const char *m_cue_sheet;

0 commit comments

Comments
 (0)