This will let me set up a Track class that has pointers to the corresponding artist, album and genre information without needing to know their IDs directly. Having this information available means I won't need to keep a "join struct" when doing lookups - instead I can return a pointer to a Track class that already knows everything. Signed-off-by: Anna Schumaker <schumaker.anna@gmail.com>
11 lines
136 B
C++
11 lines
136 B
C++
/*
|
|
* Copyright 2013 (c) Anna Schumaker.
|
|
*/
|
|
#include <database.h>
|
|
|
|
|
|
DatabaseEntry :: DatabaseEntry()
|
|
: valid(false), id(0)
|
|
{
|
|
}
|