summaryrefslogtreecommitdiffstats
path: root/src/dcopinterface.h
blob: b056c54042e9ab704800566022fa12e644d790dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58


#ifndef DCOPINTERFACE_H
#define DCOPINTERFACE_H

#include <dcopobject.h>

#include <tqstringlist.h>

/**
 * @short The soundKonverter DCOP interface
 * @author Daniel Faust <hessijames@gmail.com>
 * @version 0.3
 */
class DCOPInterface : virtual public DCOPObject
{
    K_DCOP
k_dcop:
    /**
     * When a new instance of soundKonverter should be created,
     * this function is called and all @p files are passed, that should be opened (for conversion).
     */
    virtual void openArgFiles( const TQStringList &files ) = 0;

    /**
     * When a new instance of soundKonverter should be created,
     * this function is called and all @p files are passed, that should be opened for editing the replaygain tag.
     */
    virtual void openArgReplayGainFiles( const TQStringList &files ) = 0;

    /*
     * When a new instance of soundKonverter should be created,
     * this function is called and all @p files are passed, that should be opened for repair.
     */
//     virtual void openArgRepairFiles( const TQStringList &files ) = 0;


// TODO code cleanups
/*
        virtual void openFiles(const TQStringList &files) = 0;
        virtual void openReplayGainFiles(const TQStringList &files) = 0;
        virtual void showFileDialog() = 0;
        virtual void showDirDialog() = 0;
        virtual void showCDDialog() = 0;
        virtual void showURLDialog() = 0;
        virtual void showReplayGainScanner() = 0;
        virtual void showCuesheetEditor() = 0;
        virtual void showConfigDialog() = 0;
        virtual void showLogViewer() = 0;
        virtual void startConversion() = 0;
        virtual void stopConversion() = 0;
        virtual void killConversion() = 0;
        virtual void removeFiles(const TQStringList &files) = 0;
*/
};


#endif // DCOPINTERFACE_H