Commit 0f7242b2 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

IMedia: cosmetics

parent ac5ee30a
...@@ -20,8 +20,7 @@ ...@@ -20,8 +20,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#ifndef IFILE_H #pragma once
#define IFILE_H
#include <vector> #include <vector>
#include <memory> #include <memory>
...@@ -41,7 +40,7 @@ class IMedia ...@@ -41,7 +40,7 @@ class IMedia
AudioType, // Any kind of audio file, not being an album track AudioType, // Any kind of audio file, not being an album track
UnknownType UnknownType
}; };
virtual ~IMedia() {} virtual ~IMedia() = default;
virtual unsigned int id() const = 0; virtual unsigned int id() const = 0;
virtual Type type() = 0; virtual Type type() = 0;
...@@ -82,5 +81,3 @@ class IMedia ...@@ -82,5 +81,3 @@ class IMedia
virtual const std::string& thumbnail() = 0; virtual const std::string& thumbnail() = 0;
virtual unsigned int insertionDate() const = 0; virtual unsigned int insertionDate() const = 0;
}; };
#endif // IFILE_H
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