1 
2 
3 #ifndef CODECPROBLEMS_H
4 #define CODECPROBLEMS_H
5 
6 #include <KDialog>
7 
8 
9 /**
10  * @short Shows a message box with possible solutions for backend problems
11  * @author Daniel Faust <hessijames@gmail.com>
12  * @version 1.0
13  */
14 class CodecProblems : public KDialog
15 {
16     Q_OBJECT
17 public:
18     enum Mode {
19         Debug,
20         Decode,
21         ReplayGain,
22         AudioCd
23     };
24 
25     struct Problem {
26         QString codecName;
27         QStringList solutions;
28         QStringList affectedFiles;
29     };
30 
31     /** Default Constructor */
32     CodecProblems( Mode mode, const QList<Problem>& problemList, QWidget *parent, Qt::WFlags f=0 );
33 
34     /** Default Destructor */
35     ~CodecProblems();
36 
37 };
38 
39 #endif // CODECPROBLEMS_H
40