1 /***************************************************************************
2 begin : Mon May 31 2004
3 copyright : (C) 2004 by Michael Pyne
4 (c) 2004 by Pierpaolo Di Panfilo
5 email : michael.pyne@kdemail.net
6 ***************************************************************************/
8 /***************************************************************************
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
15 ***************************************************************************/
20 #include "amarok_export.h"
26 * This class will export a list of tracks to K3b.
31 enum K3bOpenMode
{ AudioCD
, DataCD
, Abort
};
34 * @return true if the executable of K3B is found
36 // FIXME: implement me!
37 AMAROK_EXPORT
static bool isAvailable() { return false; };
41 * Exports the list of urls @urls via DCOP to K3B. The mode @p openmode will be used
42 * @param urls The list of urls to export
43 * @param openmode The mode of the album
45 // FIXME: implement me!
46 AMAROK_EXPORT
void exportTracks( const KUrl::List
&/*urls*/, int openmode
=-1 ) { Q_UNUSED(openmode
) };
49 * Exports the current playlist to K3B. The mode @p openmode will be used
50 * @param openmode The mode of the album
52 // FIXME: implement me!
53 void exportCurrentPlaylist( int openmode
=-1 ) { Q_UNUSED(openmode
) };
56 * Exports the selected tracks to K3B. The mode @p openmode will be used
57 * @param openmode The mode of the tracks
59 // FIXME: implement me!
60 void exportSelectedTracks( int openmode
=-1 ) { Q_UNUSED(openmode
) };
63 * Exports the album @p album to K3B. The mode @p openmode will be used
64 * @param openmode The mode of the album
65 * @param album The album to export
67 // FIXME: implement me!
68 void exportAlbum( const QString
&/*album*/, int openmode
=-1 ) { Q_UNUSED(openmode
) };
71 * Exports the album @p album by artist @ artist to K3B. The mode @p openmode will be used
72 * @param openmode The mode of the album
73 * @param album The album to export
75 // FIXME: implement me!
76 void exportAlbum( const QString
&/*artist*/, const QString
&/*album*/, int openmode
=-1 ) { Q_UNUSED(openmode
) };
79 * Exports all tracks of the artist @p artist to K3B. The mode @p openmode will be used
80 * @param openmode The mode of the album
81 * @param artist The artists which tracks to export
83 // FIXME: implement me!
84 void exportArtist( const QString
&/*artist*/, int openmode
=-1 ) { Q_UNUSED(openmode
) };
87 * Exports all tracks of the composer @p composer to K3B. The mode @p openmode will be used
88 * @param openmode The mode of the album
89 * @param artist The artists which tracks to export
91 // FIXME: implement me!
92 void exportComposer( const QString
&/*artist*/, int openmode
=-1 ) { Q_UNUSED(openmode
) };
95 * @return the static instance of K3bExporter
97 static K3bExporter
*instance() { return s_instance
; }
100 /*void exportViaCmdLine( const KUrl::List &urls, int openmode );
101 void exportViaDCOP( const KUrl::List &urls, DCOPRef &ref, int mode );
102 void DCOPErrorMessage();
103 bool startNewK3bProject( DCOPRef &ref, int mode );
104 K3bOpenMode openMode();*/
106 AMAROK_EXPORT
static K3bExporter
*s_instance
;
110 #endif /* K3BEXPORTER_H */