Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QModemServicePluginInterface Class Reference
[QtCellModule]

The QModemServicePluginInterface class defines the interface to vendor-specific modem plug-ins. More...

    #include <QModemServicePluginInterface>

Inherited by QModemServicePlugin.

Public Functions


Detailed Description

The QModemServicePluginInterface class defines the interface to vendor-specific modem plug-ins.

Plug-ins will typically inherit from QModemServicePlugin rather than this class.

See also QModemServicePlugin and QModemService.


Member Function Documentation

QModemService * QModemServicePluginInterface::create ( const QString & service, QSerialIODeviceMultiplexer * mux, QObject * parent )   [pure virtual]

Create a vendor-specific modem service handler called service and attach it to parent. The mux parameter specifies the serial device multiplexer to use for accessing the modem.

See also supports().

bool QModemServicePluginInterface::supports ( const QString & manufacturer )   [pure virtual]

Returns true if this plug-in supports the given manufacturer string; otherwise returns false. The caller obtains the string by issuing AT+CGMI to the modem. If the plug-in supports manufacturer, the caller will then call create(). This function will typically contain code such as the following:

    return manufacturer.contains( "VENDORID" );

where VENDORID is a vendor-specific identifier that will appear in the output of AT+CGMI only for that vendor's modems.

See also create().


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3