summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--interchange.cxx5
-rw-r--r--interchange.hxx6
2 files changed, 8 insertions, 3 deletions
diff --git a/interchange.cxx b/interchange.cxx
index 5a574e0..5b39309 100644
--- a/interchange.cxx
+++ b/interchange.cxx
@@ -5,10 +5,11 @@ namespace QInterchange {
static Interchange* interchange;
- Interchange::Interchange(char const* sampleURL, char const* image_Dir, char const* certificate)
+ Interchange::Interchange(char const* sampleURL, char const* image_Dir,
+ char const* cookie, char const* certificate)
{
interchange = this;
- interchange_init(sampleURL, image_Dir, certificate);
+ interchange_init(sampleURL, image_Dir, cookie, certificate);
}
Interchange::~Interchange()
diff --git a/interchange.hxx b/interchange.hxx
index 37b7f5f..361334d 100644
--- a/interchange.hxx
+++ b/interchange.hxx
@@ -17,9 +17,13 @@ namespace QInterchange {
* \brief Constructor.
* \param sampleURL The value of the SAMPLEURL setting in products/variable.txt.
* \param image_Dir The value of the IMAGE_DIR setting in products/variable.txt.
+ * \param certificate Path to the cookie file.
* \param certificate Path to the CA certificate file.
*/
- Interchange(char const* sampleURL, char const* image_Dir, char const* certificate = nullptr);
+ Interchange(char const* sampleURL,
+ char const* image_Dir,
+ char const* cookie = nullptr,
+ char const* certificate = nullptr);
/*!
* \brief Destructor.
*/