X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fdb%2Fdbmediatype.h;h=cd03a3fb4e8d10ea46de23f2f89f96ad9f6e3c57;hb=HEAD;hp=2bfd700fb0dc0ebdd99bdf0e75eab6250dd76d58;hpb=74728147f552df17ed41fa44de0994b5264056fc;p=emufront diff --git a/src/db/dbmediatype.h b/src/db/dbmediatype.h index 2bfd700..cd03a3f 100644 --- a/src/db/dbmediatype.h +++ b/src/db/dbmediatype.h @@ -1,27 +1,27 @@ -// EmuFront -// Copyright 2010 Mikko Keinänen -// -// This file is part of EmuFront. -// -// -// EmuFront is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License version 2 as published by -// the Free Software Foundation and appearing in the file gpl.txt included in the -// packaging of this file. -// -// EmuFront 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 EmuFront. If not, see . - -#ifndef DBMEDIATYPE_H +/* +** EmuFront +** Copyright 2010 Mikko Keinänen +** +** This file is part of EmuFront. +** +** +** EmuFront is free software: you can redistribute it and/or modify +** it under the terms of the GNU General Public License version 2 as published by +** the Free Software Foundation and appearing in the file gpl.txt included in the +** packaging of this file. +** +** EmuFront 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 EmuFront. If not, see . +*/#ifndef DBMEDIATYPE_H #define DBMEDIATYPE_H #include "dbemufrontfileobject.h" -#include "../dataobjects/mediatype.h" +#include "mediatype.h" class DbMediaType : public DbEmuFrontFileObject { @@ -30,6 +30,9 @@ public: protected: virtual EmuFrontObject* createEmuFrontFileObject(int id, QString name, EmuFrontFile *f); + +private: + QString getCountRefsSelect(int) const; }; #endif // DBMEDIATYPE_H