drmfile_p.h 450 B

1234567891011121314151617181920212223242526
  1. #ifndef DRMFILE_P_H
  2. #define DRMFILE_P_H
  3. #include <qglobal.h>
  4. class DRMFile;
  5. class DRMFilePrivate
  6. {
  7. public:
  8. explicit DRMFilePrivate();
  9. virtual ~DRMFilePrivate();
  10. public:
  11. int open(const QString & fileName);
  12. int read(char* data, int length);
  13. void close();
  14. int size();
  15. #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
  16. qint64 size64();
  17. #endif
  18. bool isDRMError(int error);
  19. };
  20. #endif // DRMFILE_P_H