miniiapclientapi.cpp 827 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. #include "miniiapclientapi.h"
  9. MiniIAPClientApi::MiniIAPClientApi()
  10. {
  11. m_miniIAPReceiver = 0;
  12. }
  13. MiniIAPClientApi::~MiniIAPClientApi()
  14. {
  15. }
  16. void MiniIAPClientApi::prepare()
  17. {
  18. }
  19. bool MiniIAPClientApi::purchaseProduct(const char * productId) {
  20. return false;
  21. }
  22. bool MiniIAPClientApi::isProductPurchased(const char *productId, const char *fileName) {
  23. return false;
  24. }
  25. MiniIAPInterface *MiniIAPClientApi::miniIAPReceiver() const
  26. {
  27. return m_miniIAPReceiver;
  28. }
  29. void MiniIAPClientApi::setMiniIAPReceiver(MiniIAPInterface *receiver)
  30. {
  31. m_miniIAPReceiver = receiver;
  32. }