fix more "type qualifiers ignored on function return type" warnings

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@105 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 732ffb18be
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2009-12-21 (Mon, 21 Dec 2009)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2009-12-21 17:26:15 +00:00
parent 5febb97a76
commit 7921fdbb48
8 changed files with 22 additions and 22 deletions

View File

@@ -53,9 +53,9 @@ class CBookmark
std::string time;
public:
CBookmark(const std::string & name, const std::string & url, const std::string & time);
const char * const getName(void) const { return name.c_str(); };
const char * const getUrl (void) const { return url .c_str(); };
const char * const getTime(void) const { return time.c_str(); };
const char *getName(void) const { return name.c_str(); };
const char *getUrl (void) const { return url .c_str(); };
const char *getTime(void) const { return time.c_str(); };
inline void setName(const std::string & new_name) { name = new_name; };
inline void setUrl (const std::string & new_url ) { url = new_url ; };
inline void setTime(const std::string & new_time) { time = new_time; };

View File

@@ -98,7 +98,7 @@ class CChannelList
CZapitChannel* operator[]( uint32_t index) { if (chanlist.size() > index) return chanlist[index]; else return NULL;};
int getKey(int);
const char * const getName (void) const { return name.c_str(); };
const char * getName (void) const { return name.c_str(); };
const std::string & getActiveChannelName (void) const; // UTF-8
t_satellite_position getActiveSatellitePosition(void) const;
int getActiveChannelNumber (void) const;