~neon/juk/master

« back to all changes in this revision

Viewing changes to genrelistlist.cpp

  • Committer: Scott Wheeler
  • Date: 2002-03-06 04:24:31 UTC
  • Revision ID: git-v1:3b69f66d9a122457a3603fced6161cc38e9fd639
This is a complete rewrite of the genre system to be based on XML.
Currently this just supports reading XML genre lists.

svn path=/trunk/kdemultimedia/juk/; revision=141257

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
                          genrelistlist.cpp  -  description
 
3
                             -------------------
 
4
    begin                : Sun Mar 3 2002
 
5
    copyright            : (C) 2002 by Scott Wheeler
 
6
    email                : scott@slackorama.net
 
7
 ***************************************************************************/
 
8
 
 
9
/***************************************************************************
 
10
 *                                                                         *
 
11
 *   This program is free software; you can redistribute it and/or modify  *
 
12
 *   it under the terms of the GNU General Public License as published by  *
 
13
 *   the Free Software Foundation; either version 2 of the License, or     *
 
14
 *   (at your option) any later version.                                   *
 
15
 *                                                                         *
 
16
 ***************************************************************************/
 
17
 
 
18
#include <kstandarddirs.h>
 
19
 
 
20
#include "genrelistlist.h"
 
21
 
 
22
////////////////////////////////////////////////////////////////////////////////
 
23
// static members
 
24
////////////////////////////////////////////////////////////////////////////////
 
25
 
 
26
// public
 
27
GenreList GenreListList::id3v1List()
 
28
{
 
29
  return(id3v1);
 
30
}
 
31
 
 
32
// private
 
33
GenreList GenreListList::id3v1 = GenreList(locate("data", "juk/id3v1.genreml"), true);
 
34
 
 
35
////////////////////////////////////////////////////////////////////////////////
 
36
// public members
 
37
////////////////////////////////////////////////////////////////////////////////
 
38
 
 
39
GenreListList::GenreListList()
 
40
{
 
41
}
 
42
 
 
43
GenreListList::~GenreListList()
 
44
{
 
45
}