X-Git-Url: http://git.maemo.org/git/?p=someplayer;a=blobdiff_plain;f=src%2Ftrack.h;h=8d1d4885d75d6dd92c236c73326ed41b465fca7a;hp=428882371f1cafd844f629650703c89195a9ca6c;hb=2af36f9cbd41a808741731b8a6dcaca7431870f6;hpb=de6604ba0154d3233889a330b8f229c952614021 diff --git a/src/track.h b/src/track.h index 4288823..8d1d488 100644 --- a/src/track.h +++ b/src/track.h @@ -1,3 +1,22 @@ +/* + * SomePlayer - An alternate music player for Maemo 5 + * Copyright (C) 2010 Nikolay (somebody) Tischenko + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + #ifndef TRACK_H #define TRACK_H @@ -27,6 +46,7 @@ namespace SomePlayer { void setSource (QString source); int count() const; //count of plays void setCount(int count); //for restoring from database and counting from player + bool operator == (const Track &track); private: TrackMetadata _metadata;