mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
17 lines
506 B
C
17 lines
506 B
C
|
#ifndef O0REQUESTPARAMETER_H
|
||
|
#define O0REQUESTPARAMETER_H
|
||
|
|
||
|
#include "o0export.h"
|
||
|
|
||
|
/// Request parameter (name-value pair) participating in authentication.
|
||
|
struct O0_EXPORT O0RequestParameter {
|
||
|
O0RequestParameter(const QByteArray &n, const QByteArray &v): name(n), value(v) {}
|
||
|
bool operator <(const O0RequestParameter &other) const {
|
||
|
return (name == other.name)? (value < other.value): (name < other.name);
|
||
|
}
|
||
|
QByteArray name;
|
||
|
QByteArray value;
|
||
|
};
|
||
|
|
||
|
#endif // O0REQUESTPARAMETER_H
|