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_desktop_utils.h 1015B

12345678910111213141516171819202122232425262728293031323334
  1. /* -*- Mode: c++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*-
  2. **
  3. ** Copyright (C) 2010 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_DESKTOP_UTILS_H
  9. #define SCOPE_DESKTOP_UTILS_H
  10. #include "modules/scope/src/scope_service.h"
  11. #include "adjunct/desktop_scope/src/generated/g_scope_desktop_utils_interface.h"
  12. #include "modules/util/opfile/opfolder.h"
  13. class OpScopeDesktopUtils :
  14. public OpScopeDesktopUtils_SI
  15. {
  16. public:
  17. OpScopeDesktopUtils();
  18. virtual ~OpScopeDesktopUtils();
  19. // Request/Response functions
  20. OP_STATUS DoGetString(const DesktopStringID &in, DesktopStringText &out);
  21. OP_STATUS DoGetOperaPath(DesktopPath &out);
  22. OP_STATUS DoGetLargePreferencesPath(DesktopPath &out);
  23. OP_STATUS DoGetSmallPreferencesPath(DesktopPath &out);
  24. OP_STATUS DoGetCachePreferencesPath(DesktopPath &out);
  25. OP_STATUS DoGetCurrentProcessId(DesktopPid &out);
  26. };
  27. #endif // SCOPE_HELLO_DESKTOP_H