diff options
Diffstat (limited to 'src/rgw/services/svc_sync_modules.h')
-rw-r--r-- | src/rgw/services/svc_sync_modules.h | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/rgw/services/svc_sync_modules.h b/src/rgw/services/svc_sync_modules.h index 6e578c8d7cf..19c4ec57f7a 100644 --- a/src/rgw/services/svc_sync_modules.h +++ b/src/rgw/services/svc_sync_modules.h @@ -7,29 +7,19 @@ class RGWSyncModulesManager; -class RGWS_SyncModules : public RGWService -{ -public: - RGWS_SyncModules(CephContext *cct) : RGWService(cct, "sync_modules") {} - - int create_instance(const std::string& conf, RGWServiceInstanceRef *instance) override; -}; - class RGWSI_SyncModules : public RGWServiceInstance { - RGWSyncModulesManager *sync_modules_manager; - - std::map<std::string, RGWServiceInstance::dependency> get_deps() override; - int load(const std::string& conf, std::map<std::string, RGWServiceInstanceRef>& dep_refs) override; - int init() override; + RGWSyncModulesManager *sync_modules_manager{nullptr}; public: - RGWSI_SyncModules(RGWService *svc, CephContext *cct): RGWServiceInstance(svc, cct) {} + RGWSI_SyncModules(CephContext *cct): RGWServiceInstance(cct) {} ~RGWSI_SyncModules(); RGWSyncModulesManager *get_manager() { return sync_modules_manager; } + + void init(); }; #endif |