summaryrefslogtreecommitdiff
path: root/database/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'database/object.h')
-rw-r--r--database/object.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/database/object.h b/database/object.h
index 245a617..9c2c133 100644
--- a/database/object.h
+++ b/database/object.h
@@ -137,7 +137,7 @@ private:
cString mProtocolInfo;
cString mContentType;
cString mImportURI;
- unsigned long mSize;
+ off64_t mSize;
unsigned int mBitrate;
unsigned int mSampleFrequency;
unsigned int mBitsPerSample;
@@ -212,14 +212,6 @@ public:
*/
int getResourceType() const { return this->mResourceType; }
/**
- * Get the size
- *
- * Returns the resource size or -1 if its unknown
- *
- * @return the resource size or -1 if unknown
- */
- unsigned long getSize() const { return this->mSize; }
- /**
* Get the file size
*
* Returns the file size in bytes of the resource or 0 if its unknown or a
@@ -227,7 +219,7 @@ public:
*
* @return the file size
*/
- off64_t getFileSize() const;
+ off64_t getFileSize() const { return this->mSize; };
/**
* Get the last modification
*