drmfile_p.cpp 592 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #include "drmfile_p.h"
  2. #include "drmfile.h"
  3. DRMFilePrivate::DRMFilePrivate()
  4. {
  5. }
  6. DRMFilePrivate::~DRMFilePrivate()
  7. {
  8. close();
  9. }
  10. int DRMFilePrivate::open(const QString & fileName)
  11. {
  12. return -1;
  13. }
  14. int DRMFilePrivate::read(char* data, int length)
  15. {
  16. return 0;
  17. }
  18. void DRMFilePrivate::close()
  19. {
  20. }
  21. int DRMFilePrivate::size()
  22. {
  23. return 0;
  24. }
  25. #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
  26. qint64 DRMFilePrivate::size64()
  27. {
  28. return 0;
  29. }
  30. #endif
  31. bool DRMFilePrivate::isDRMError(int error)
  32. {
  33. bool result = false;
  34. return result;
  35. }