[libcalamares] Add accessors for GeoIP handler attributes
This commit is contained in:
parent
34b1a250ba
commit
6183c4e2f4
@ -25,7 +25,7 @@
|
|||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QVariantMap>
|
#include <QVariantMap>
|
||||||
|
|
||||||
namespace CalamaresUtils
|
namespace CalamaresUtils
|
||||||
{
|
{
|
||||||
namespace GeoIP
|
namespace GeoIP
|
||||||
{
|
{
|
||||||
@ -80,6 +80,8 @@ public:
|
|||||||
|
|
||||||
bool isValid() const { return m_type != Type::None; }
|
bool isValid() const { return m_type != Type::None; }
|
||||||
Type type() const { return m_type; }
|
Type type() const { return m_type; }
|
||||||
|
QString url() const { return m_url; }
|
||||||
|
QString selector() const { return m_selector; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Type m_type;
|
Type m_type;
|
||||||
|
Loading…
Reference in New Issue
Block a user