Commit 62e0780a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Move IMediaMetadata to a separate file

parent 0e232d47
......@@ -40,6 +40,7 @@ libmedialibrary_la_HEADERS = \
include/medialibrary/IDeviceLister.h \
include/medialibrary/IFolder.h \
include/medialibrary/IQuery.h \
include/medialibrary/IMetadata.h \
$(NULL)
libmedialibraryfsdir = $(libmedialibrary_ladir)/filesystem
......
......@@ -34,15 +34,7 @@ namespace medialibrary
class IAlbumTrack;
class IShowEpisode;
class ITrackInformation;
class IMediaMetadata
{
public:
virtual ~IMediaMetadata() = default;
virtual bool isSet() const = 0;
virtual int64_t integer() const = 0;
virtual const std::string& str() const = 0;
};
class IMediaMetadata;
class IMedia
{
......
/*****************************************************************************
* Media Library
*****************************************************************************
* Copyright (C) 2015-2018 Hugo Beauzée-Luyssen, Videolabs, VideoLAN
*
* Authors: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser 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.
*****************************************************************************/
#pragma once
#include <string>
namespace medialibrary
{
class IMediaMetadata
{
public:
virtual ~IMediaMetadata() = default;
virtual bool isSet() const = 0;
virtual int64_t integer() const = 0;
virtual const std::string& str() const = 0;
};
}
......@@ -30,6 +30,7 @@
#include "Thumbnail.h"
#include "database/DatabaseHelpers.h"
#include "utils/Cache.h"
#include "medialibrary/IMetadata.h"
namespace medialibrary
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment