diff options
Diffstat (limited to 'ceee/ie/broker/api_dispatcher.cc')
-rw-r--r-- | ceee/ie/broker/api_dispatcher.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ceee/ie/broker/api_dispatcher.cc b/ceee/ie/broker/api_dispatcher.cc index e1ecec0..9e30ee5 100644 --- a/ceee/ie/broker/api_dispatcher.cc +++ b/ceee/ie/broker/api_dispatcher.cc @@ -149,6 +149,10 @@ void ApiDispatcher::GetExecutor(HWND window, REFIID iid, void** executor) { window << ". In thread: " << thread_id << ". " << com::LogHr(hr); } +bool ApiDispatcher::IsTabIdValid(int tab_id) const { + return Singleton<ExecutorsManager, ExecutorsManager::SingletonTraits>::get()-> + IsTabIdValid(tab_id); +} HWND ApiDispatcher::GetTabHandleFromId(int tab_id) const { return Singleton<ExecutorsManager, ExecutorsManager::SingletonTraits>::get()-> @@ -164,6 +168,11 @@ HWND ApiDispatcher::GetWindowHandleFromId(int window_id) const { return reinterpret_cast<HWND>(window_id); } +bool ApiDispatcher::IsTabHandleValid(HWND tab_handle) const { + return Singleton<ExecutorsManager, ExecutorsManager::SingletonTraits>::get()-> + IsTabHandleValid(tab_handle); +} + int ApiDispatcher::GetTabIdFromHandle(HWND tab_handle) const { return Singleton<ExecutorsManager, ExecutorsManager::SingletonTraits>::get()-> GetTabIdFromHandle(tab_handle); |