mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
CIMDB: clean up
- fix license text - move unused include unistd.h into cpp file - scope of the variable 'line' reduced. - remove variable 'pos_firstline', its value was never used. - remove unused variable: search - remove variables 'pos_search1', 'pos_search2'... values never used. - add member variable 'CIMDB::acc' into constructor, was not initialized - move include for cc.h into cpp file
This commit is contained in:
@@ -17,17 +17,15 @@
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __imdb__
|
||||
#define __imdb__
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include <gui/components/cc.h>
|
||||
|
||||
#include <zapit/zapit.h>
|
||||
|
||||
class CIMDB
|
||||
@@ -50,7 +48,7 @@ class CIMDB
|
||||
|
||||
void getIMDbData(std::string& txt);
|
||||
|
||||
bool gotPoster() { return (access(posterfile.c_str(), F_OK) == 0); };
|
||||
bool gotPoster();
|
||||
|
||||
bool checkIMDbElement(std::string element);
|
||||
//FIXME: what if m[element] doesn't exist?
|
||||
|
Reference in New Issue
Block a user