#include <xdg-open.hpp>
Static Public Member Functions | |
| static bool | open_if_trusted (const std::string &url) |
| static bool | open (const std::string &url, int argc, char **argv) |
Static Private Member Functions | |
| static std::string | extract_domain (const std::string &url) |
| static bool | is_trusted_domain (const std::string &domain) |
| static bool | is_payment_domain (const std::string &domain) |
| static std::string | clean_domain (const std::string &d) |
| static bool | ends_with (const std::string &value, const std::string &suffix) |
Definition at line 24 of file xdg-open.hpp.
|
staticprivate |
Definition at line 227 of file xdg-open.cpp.
Referenced by is_payment_domain(), is_trusted_domain(), and open().
|
staticprivate |
Definition at line 81 of file xdg-open.cpp.
Referenced by is_payment_domain(), is_trusted_domain(), and open().
|
staticprivate |
Definition at line 68 of file xdg-open.cpp.
Referenced by open(), and open_if_trusted().
|
staticprivate |
Definition at line 150 of file xdg-open.cpp.
References _, clean_domain(), ends_with(), and SettingsStore::get_secure_payments_enabled().
Referenced by open(), and open_if_trusted().
|
staticprivate |
Definition at line 90 of file xdg-open.cpp.
References _, clean_domain(), and ends_with().
Referenced by open(), and open_if_trusted().
|
static |
References clean_domain(), ends_with(), extract_domain(), is_payment_domain(), and is_trusted_domain().
|
static |
Definition at line 37 of file xdg-open.cpp.
References _, extract_domain(), is_payment_domain(), is_trusted_domain(), and SecureBrowser::open().
Referenced by main().