X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmediascanner.h;h=151bf3d7b3b0149e206e0a4989abda0e003b5ccb;hb=f4cfbf01905af4ef078ac5c85d232be7a5b464da;hp=cd952cf69ac6728bc5d91f989b75d7e27624da0f;hpb=dd00ef6be1a5989020c9ae2c1fa6c17910b260d1;p=someplayer diff --git a/src/mediascanner.h b/src/mediascanner.h index cd952cf..151bf3d 100644 --- a/src/mediascanner.h +++ b/src/mediascanner.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 MEDIASCANNER_H #define MEDIASCANNER_H @@ -17,6 +36,7 @@ namespace SomePlayer { public: explicit MediaScanner(QObject *parent = 0); void run(); + QStringList singleScan(QString); signals: void scanFinish(QStringList); @@ -30,7 +50,7 @@ namespace SomePlayer { QStringList REGISTERED_FILE_EXTENSIONS; QStringList _foundMedia; - void _scan_directory(QDir); + QStringList _scan_directory(QDir); }; };