libktorrent  2.2.0
Public Member Functions | List of all members
bt::UPnPDescriptionParser Class Reference

#include <upnpdescriptionparser.h>

Public Member Functions

bool parse (const QByteArray &data, UPnPRouter *router)
 
bool parse (const QString &file, UPnPRouter *router)
 

Detailed Description

Author
Joris Guisson

Parses the xml description of a router.

Definition at line 52 of file upnpdescriptionparser.h.

Member Function Documentation

◆ parse() [1/2]

bool bt::UPnPDescriptionParser::parse ( const QByteArray &  data,
UPnPRouter router 
)

Parse the xml description.

Parameters
dataQByteArray with the data
routerThe router off the xml description
Returns
true upon success

◆ parse() [2/2]

bool bt::UPnPDescriptionParser::parse ( const QString &  file,
UPnPRouter router 
)

Parse the xml description.

Parameters
fileFile it is located in
routerThe router off the xml description
Returns
true upon success

The documentation for this class was generated from the following file: