comment out never used

Origin commit data
------------------
Commit: 9124c20f31
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-08-04 (Sat, 04 Aug 2012)
This commit is contained in:
Jacek Jendrzej
2012-08-04 10:03:19 +02:00
parent 68773d8e37
commit 41e57ce7bc
26 changed files with 149 additions and 85 deletions

View File

@@ -90,7 +90,8 @@ int CBookmarkManager::createBookmark (const std::string & url, const std::string
}
//------------------------------------------------------------------------
#if 0
//never used
void CBookmarkManager::removeBookmark (unsigned int index) {
std::vector<CBookmark>::iterator p = bookmarks.begin()+index;
bookmarks.erase(p);
@@ -115,7 +116,7 @@ void CBookmarkManager::renameBookmark (unsigned int index) {
bookmarksmodified=true;
}
}
#endif
#define BOOKMARKSTRINGLENGTH (10 + 1)
#define BOOKMARKSTRINGMODIFICATIONPOINT 8
const char * const BOOKMARKSTRING = "bookmark0.";
@@ -195,7 +196,8 @@ CBookmarkManager::~CBookmarkManager () {
}
//------------------------------------------------------------------------
#if 0
//never used
int CBookmarkManager::getBookmarkCount(void) const {
return bookmarks.size();
}
@@ -205,7 +207,7 @@ int CBookmarkManager::getBookmarkCount(void) const {
int CBookmarkManager::getMaxBookmarkCount(void) const {
return MAXBOOKMARKS;
}
#endif
//------------------------------------------------------------------------
void CBookmarkManager::flush() {
@@ -215,7 +217,8 @@ void CBookmarkManager::flush() {
}
//------------------------------------------------------------------------
#if 0
//never used
const CBookmark * CBookmarkManager::getBookmark(CMenuTarget* parent)
{
if (parent)
@@ -360,7 +363,7 @@ const CBookmark * CBookmarkManager::getBookmark(CMenuTarget* parent)
else
return NULL;
}
#endif
//------------------------------------------------------------------------
void CBookmarkManager::paintItem(int pos)
{

View File

@@ -3841,7 +3841,8 @@ int find_gop(unsigned char *buf, int r)
}
return -1;
}
#if 0
//never used
off64_t fake_read(int fd, unsigned char *buf, size_t size, off64_t fsize)
{
off64_t cur = lseek64 (fd, 0, SEEK_CUR);
@@ -3852,7 +3853,7 @@ off64_t fake_read(int fd, unsigned char *buf, size_t size, off64_t fsize)
else
return size;
}
#endif
#define PSI_SIZE 188*3
static int read_psi(char * spart, unsigned char * buf)
{

View File

@@ -321,6 +321,8 @@ bool CMovieInfo::loadMovieInfo(MI_MOVIE_INFO * movie_info, CFile * file)
/************************************************************************
************************************************************************/
#if 0
//never used
bool CMovieInfo::parseXmlTree(char */*text*/, MI_MOVIE_INFO * /*movie_info*/)
{
#ifndef XMLTREE_LIB
@@ -413,7 +415,7 @@ bool CMovieInfo::parseXmlTree(char */*text*/, MI_MOVIE_INFO * /*movie_info*/)
#endif /* XMLTREE_LIB */
return (true);
}
#endif
/************************************************************************
************************************************************************/
@@ -513,6 +515,8 @@ void CMovieInfo::showMovieInfo(MI_MOVIE_INFO & movie_info)
/************************************************************************
************************************************************************/
#if 0
//never used
void CMovieInfo::printDebugMovieInfo(MI_MOVIE_INFO & movie_info)
{
TRACE(" FileName: %s", movie_info.file.Name.c_str());
@@ -561,7 +565,7 @@ void CMovieInfo::printDebugMovieInfo(MI_MOVIE_INFO & movie_info)
}
}
}
#endif
/************************************************************************
************************************************************************/

View File

@@ -88,11 +88,12 @@ int CMountChooser::exec(CMenuTarget* parent, const std::string & actionKey)
return CMenuWidget::exec(parent, actionKey);
}
}
#if 0
//never used
void CMountChooser::setSelectedItem(int selection)
{
selected = selection;
}
#endif