request.h 493 B

12345678910111213141516171819202122232425262728293031
  1. /**
  2. * Copyright (c) 2011 Nokia Corporation.
  3. */
  4. #ifndef REQUEST_H
  5. #define REQUEST_H
  6. // Forward declaration
  7. class QNetworkReply;
  8. class Request
  9. {
  10. public:
  11. enum RequestType {
  12. EDownloadSis,
  13. EProductIds
  14. };
  15. public: // Constructor
  16. Request() : netRequest(0) {}
  17. public: // Data
  18. QNetworkReply *netRequest; // Reply for the request, not owned
  19. QString id; // Product id
  20. RequestType type; // Request type
  21. };
  22. #endif // REQUEST_H