You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
817 B

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. // Copyright 2010 Google Inc. All Rights Reserved
  2. #ifndef TALK_BASE_MACWINDOWPICKER_H_
  3. #define TALK_BASE_MACWINDOWPICKER_H_
  4. #include "talk/base/windowpicker.h"
  5. namespace talk_base {
  6. class MacWindowPicker : public WindowPicker {
  7. public:
  8. MacWindowPicker();
  9. ~MacWindowPicker();
  10. virtual bool Init();
  11. virtual bool IsVisible(const WindowId& id);
  12. virtual bool MoveToFront(const WindowId& id);
  13. virtual bool GetWindowList(WindowDescriptionList* descriptions);
  14. virtual bool GetDesktopList(DesktopDescriptionList* descriptions);
  15. virtual bool GetDesktopDimensions(const DesktopId& id, int* width,
  16. int* height);
  17. private:
  18. void* lib_handle_;
  19. void* get_window_list_;
  20. void* get_window_list_desc_;
  21. };
  22. } // namespace talk_base
  23. #endif // TALK_BASE_MACWINDOWPICKER_H_