purchasableitemnonprotected.h 711 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. * Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
  3. * All rights reserved.
  4. *
  5. * For the applicable distribution terms see the license.txt -file, included in
  6. * the distribution.
  7. */
  8. #ifndef PURCHASABLEITEMNONPROTECTED_H
  9. #define PURCHASABLEITEMNONPROTECTED_H
  10. #include "purchasableitembase.h"
  11. class DeclarativePurchaseListModel;
  12. class PurchasableItemNonProtected : public PurchasableItemBase
  13. {
  14. Q_OBJECT
  15. public:
  16. explicit PurchasableItemNonProtected(DeclarativePurchaseListModel& model, QString& productID, QString& url);
  17. protected:
  18. void setUnlocked(QString* purchaseTicket);
  19. bool isPurchased();
  20. };
  21. #endif // PURCHASABLEITEMNONPROTECTED_H