diff Plugin/AuthorizationWebService.h @ 29:bc0431cb6b8f

fix for compatibility with simplified OrthancPluginCppWrapper
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Dec 2018 21:16:54 +0100
parents d5d3cb00556a
children c304ffca5d80
line wrap: on
line diff
--- a/Plugin/AuthorizationWebService.h	Fri Nov 09 10:55:42 2018 +0100
+++ b/Plugin/AuthorizationWebService.h	Tue Dec 04 21:16:54 2018 +0100
@@ -25,7 +25,6 @@
   class AuthorizationWebService : public IAuthorizationService
   {
   private:
-    OrthancPluginContext* context_;
     std::string url_;
     std::string username_;
     std::string password_;
@@ -37,8 +36,10 @@
                            const std::string& tokenValue);
     
   public:
-    AuthorizationWebService(OrthancPluginContext* context,
-                            const std::string& url);
+    AuthorizationWebService(const std::string& url) :
+      url_(url)
+    {
+    }
 
     void SetCredentials(const std::string& username,
                         const std::string& password);