Changeset View
Changeset View
Standalone View
Standalone View
src/fs/filesystem.h
Show First 20 Lines • Show All 229 Lines • ▼ Show 20 Line(s) | 119 | public: | |||
---|---|---|---|---|---|
230 | } | 230 | } | ||
231 | 231 | | |||
232 | virtual QString mountTitle() const; | 232 | virtual QString mountTitle() const; | ||
233 | virtual QString unmountTitle() const; | 233 | virtual QString unmountTitle() const; | ||
234 | 234 | | |||
235 | virtual bool mount(Report& report, const QString& deviceNode, const QString& mountPoint); | 235 | virtual bool mount(Report& report, const QString& deviceNode, const QString& mountPoint); | ||
236 | virtual bool unmount(Report& report, const QString& deviceNode); | 236 | virtual bool unmount(Report& report, const QString& deviceNode); | ||
237 | 237 | | |||
238 | /**< @return true if the mount point where FileSystem is mounted is read only */ | ||||
239 | bool isReadOnly() const; | ||||
240 | | ||||
238 | /**< @return the FileSystem's first sector */ | 241 | /**< @return the FileSystem's first sector */ | ||
239 | qint64 firstSector() const; | 242 | qint64 firstSector() const; | ||
240 | 243 | | |||
241 | /**< @return the FileSystem's last sector */ | 244 | /**< @return the FileSystem's last sector */ | ||
242 | qint64 lastSector() const; | 245 | qint64 lastSector() const; | ||
243 | 246 | | |||
244 | qint64 length() const { | 247 | qint64 length() const { | ||
245 | return lastSector() - firstSector() + 1; /**< @return the FileSystem's length */ | 248 | return lastSector() - firstSector() + 1; /**< @return the FileSystem's length */ | ||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |