created separate class for restbed services

This commit is contained in:
csoler 2019-11-14 22:02:42 +01:00
parent a584b822a8
commit 3ca22f0052
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
7 changed files with 267 additions and 134 deletions

View file

@ -35,11 +35,11 @@ namespace rb = restbed;
struct JsonApiServer;
// /**
// * Pointer to global instance of JsonApiServer
// * @jsonapi{development}
// */
// extern JsonApiServer* jsonApiServer;
/**
* Pointer to global instance of JsonApiServer
* @jsonapi{development}
*/
extern JsonApiServer* jsonApiServer;
/**
* Simple usage
@ -236,6 +236,7 @@ private:
serviceInstance.get(), serviceName, ctx, session );
}
JsonApiServer *_instance;
static p3ConfigMgr *_config_mgr;
};