Loading system/gd/module.cc +2 −2 Original line number Diff line number Diff line Loading @@ -24,12 +24,12 @@ namespace bluetooth { ModuleFactory::ModuleFactory(std::function<Module*()> ctor) : ctor_(ctor) { } Handler* Module::GetHandler() { Handler* Module::GetHandler() const { ASSERT_LOG(handler_ != nullptr, "Can't get handler when it's not started"); return handler_; } const ModuleRegistry* Module::GetModuleRegistry() { const ModuleRegistry* Module::GetModuleRegistry() const { return registry_; } Loading system/gd/module.h +2 −2 Original line number Diff line number Diff line Loading @@ -77,9 +77,9 @@ class Module { // Release all resources, you're about to be deleted virtual void Stop() = 0; ::bluetooth::os::Handler* GetHandler(); ::bluetooth::os::Handler* GetHandler() const; const ModuleRegistry* GetModuleRegistry(); const ModuleRegistry* GetModuleRegistry() const; template <class T> T* GetDependency() const { Loading Loading
system/gd/module.cc +2 −2 Original line number Diff line number Diff line Loading @@ -24,12 +24,12 @@ namespace bluetooth { ModuleFactory::ModuleFactory(std::function<Module*()> ctor) : ctor_(ctor) { } Handler* Module::GetHandler() { Handler* Module::GetHandler() const { ASSERT_LOG(handler_ != nullptr, "Can't get handler when it's not started"); return handler_; } const ModuleRegistry* Module::GetModuleRegistry() { const ModuleRegistry* Module::GetModuleRegistry() const { return registry_; } Loading
system/gd/module.h +2 −2 Original line number Diff line number Diff line Loading @@ -77,9 +77,9 @@ class Module { // Release all resources, you're about to be deleted virtual void Stop() = 0; ::bluetooth::os::Handler* GetHandler(); ::bluetooth::os::Handler* GetHandler() const; const ModuleRegistry* GetModuleRegistry(); const ModuleRegistry* GetModuleRegistry() const; template <class T> T* GetDependency() const { Loading