From bf9988d771a03bc6a1d97a11ce3794d8b429b534 Mon Sep 17 00:00:00 2001 From: ar Date: Sat, 10 Jan 2004 13:54:11 +0000 Subject: - remove QString getCfPath(); QString getSdPath(); QString getMmcPath(); --- (limited to 'library/storage.cpp') diff --git a/library/storage.cpp b/library/storage.cpp index 657fb71..d98139b 100644 --- a/library/storage.cpp +++ b/library/storage.cpp @@ -314,66 +314,6 @@ bool StorageInfo::hasMmc() return hasMmc; } -/*! -* @fn QString StorageInfo::getCfPath() -* @brief returns the Mount-Path of Cf Card -* -*/ -QString StorageInfo::getCfPath() -{ - QString r = ""; - - for (QListIterator i(mFileSystems); i.current(); ++i) - { - if ( (*i)->disk().left( 8 ) == "/dev/hda" ) - { - r = (*i)->path(); - break; - } - } - return r; -} - -/*! -* @fn QString StorageInfo::getSdPath() -* @brief returns the Mount-Path of Sd Card -* -*/ -QString StorageInfo::getSdPath() -{ - QString r = ""; - - for (QListIterator i(mFileSystems); i.current(); ++i) - { - if ( (*i)->disk().left( 9 ) == "/dev/mmcd" ) - { - r = (*i)->path(); - break; - } - } - return r; -} - -/*! -* @fn QString StorageInfo::getMmcPath() -* @brief returns the Mount-Path of Mmc Card -* -*/ -QString StorageInfo::getMmcPath() -{ - QString r = ""; - - for (QListIterator i(mFileSystems); i.current(); ++i) - { - if ( (*i)->disk().left( 14 ) == "/dev/mmc/part1" ) - { - r = (*i)->path(); - break; - } - } - return r; -} - /*! \fn const QList &StorageInfo::fileSystems() const Returns a list of all available mounted file systems. -- cgit v0.9.0.2