3 * DAAP Support for XBMC
4 * Copyright (c) 2004 Forza (Chris Barnett)
5 * Portions Copyright (c) by the authors of libOpenDAAP
6 * Copyright (C) 2005-2013 Team XBMC
9 * This Program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2, or (at your option)
14 * This Program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with XBMC; see the file COPYING. If not, see
21 * <http://www.gnu.org/licenses/>.
25 #include "IDirectory.h"
29 #include "lib/libXDAAP/client.h"
30 #include "lib/libXDAAP/private.h"
35 class CDAAPDirectory :
41 virtual ~CDAAPDirectory(void);
42 virtual bool IsAllowed(const CStdString &strFile) const { return true; };
43 virtual bool GetDirectory(const CStdString& strPath, CFileItemList &items);
44 //virtual void CloseDAAP(void);
45 int GetCurrLevel(CStdString strPath);
48 void free_albums(albumPTR *alb);
50 void AddToArtistAlbum(char *artist_s, char *album_s);
52 DAAP_ClientHost_DatabaseItem *m_currentSongItems;
53 int m_currentSongItemCount;
55 DAAP_SClientHost *m_thisHost;
58 artistPTR *m_artisthead;
59 CStdString m_selectedPlaylist;
60 CStdString m_selectedArtist;
61 CStdString m_selectedAlbum;