summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/stdpopups.cpp
blob: e1f8396dadc3467fa25bd5b332821c8354b9977b (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

#include "rfcpopup.h"
#include "obexpopup.h"
#include "panpopup.h"
#include "dunpopup.h"

#include "stdpopups.h"

extern "C" {

    QPopupMenu* newRfcComPopup( const OpieTooth::Services& service,  OpieTooth::BTDeviceItem* item ) {
        return new OpieTooth::RfcCommPopup(/* servive,*/  item ); // fix spellin RfComm vs. RfcComm and paramaters
        //return 0l;
    }
    QPopupMenu* newObexPushPopup( const OpieTooth::Services&,  OpieTooth::BTDeviceItem* ) {
        return  new OpieTooth::ObexPopup();
    }
    QPopupMenu* newPanPopup( const OpieTooth::Services& service,  OpieTooth::BTDeviceItem* item ) {
        return new OpieTooth::PanPopup( item );
    }

    QPopupMenu* newDunPopup( const OpieTooth::Services& service,  OpieTooth::BTDeviceItem* item ) {
        return new OpieTooth::DunPopup( item );
    }
}