00001 #include <freedb/freedb.hxx>
00002
00003
00004 string Freedb::createEntry(CDInfo info)
00005 {
00006 string entry;
00007
00008 entry = "# xmcd\n";
00009 entry += "# \n";
00010 entry += "# Track frame offsets:\n";
00011
00012 for (vector<int>::const_iterator i = info.trackoffsets.begin(); i != info.trackoffsets.end(); i++)
00013 {
00014 entry += "# " + itos(*i) + "\n";
00015 }
00016
00017 entry += "#\n";
00018
00019 entry += "#\n";
00020 entry += "Revision: " + itos(info.revision) + "\n";
00021
00022
00023 entry += "#\n";
00024
00025 return(entry);
00026 }
00027
00028 CDInfo Freedb::parseEntry(string entry)
00029 {
00030 }
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049 int main()
00050 {
00051 CDInfo info;
00052
00053
00054
00055 return(0);
00056 }