Opera 12.15 Source Code
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.

scope_widget_info.h 946B

12345678910111213141516171819202122232425262728
  1. /* -*- Mode: c++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*-
  2. **
  3. ** Copyright (C) 2011 Opera Software AS. All rights reserved.
  4. **
  5. ** This file is part of the Opera web browser. It may not be distributed
  6. ** under any circumstances.
  7. */
  8. #ifndef SCOPE_WIDGET_INFO_H
  9. #define SCOPE_WIDGET_INFO_H
  10. #include "adjunct/desktop_scope/src/generated/g_scope_desktop_window_manager_interface.h"
  11. /** @brief Used to get more information about widget contents
  12. */
  13. class OpScopeWidgetInfo
  14. {
  15. public:
  16. virtual ~OpScopeWidgetInfo() {}
  17. /** Create a list of items this widget consists of
  18. * @param list List of items
  19. * @param include_invisible Whether items contained in the widget that are not visible should be included in the list
  20. */
  21. virtual OP_STATUS AddQuickWidgetInfoItems(OpScopeDesktopWindowManager_SI::QuickWidgetInfoList &list, BOOL include_nonhoverable, BOOL include_invisible = TRUE) = 0;
  22. };
  23. #endif // SCOPE_WIDGET_INFO_H