summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/default.h
blob: 5b542f5e7404df1ede6bcfc41555a2c2527fc1f5 (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
#ifndef OPIE_DEFAULT_H
#define OPIE_DEFAULT_H

#include "metafactory.h"

class Widget;

extern "C" {
    FileTransferLayer* newSZTransfer(IOLayer*);
    FileTransferLayer* newSYTransfer(IOLayer*);
    FileTransferLayer* newSXTransfer(IOLayer*);

    ReceiveLayer* newSZReceive(IOLayer*);
    ReceiveLayer* newSYReceive(IOLayer*);
    ReceiveLayer* newSXReceive(IOLayer*);

    IOLayer* newSerialLayer(const Profile&);
    IOLayer* newBTLayer(const Profile& );
    IOLayer* newIrDaLayer(const Profile& );
    IOLayer* newConsole(const Profile& );

    ProfileDialogWidget* newSerialWidget(const QString&, QWidget* );
    ProfileDialogWidget* newIrDaWidget  (const QString&, QWidget* );
    ProfileDialogWidget* newBTWidget    (const QString&, QWidget* );
    ProfileDialogWidget* newConsoleWid     (const QString&, QWidget* );

    ProfileDialogWidget* newTerminalWidget(const QString&, QWidget* );
    ProfileDialogWidget* newKeyboardWidget(const QString&, QWidget* );

//    EmulationLayer* newVT102( WidgetLayer* );
};

class MetaFactory;
struct Default {
public:
    Default(MetaFactory* );
    ~Default();
};


#endif