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

Move pointer types to a specific file

parent 489bef1a
......@@ -3,24 +3,8 @@
#include <vector>
#include <string>
#include <memory>
class IAlbum;
class IAlbumTrack;
class IFile;
class ILabel;
class IMetadataService;
class IMovie;
class IShow;
class IShowEpisode;
typedef std::shared_ptr<IFile> FilePtr;
typedef std::shared_ptr<ILabel> LabelPtr;
typedef std::shared_ptr<IAlbum> AlbumPtr;
typedef std::shared_ptr<IAlbumTrack> AlbumTrackPtr;
typedef std::shared_ptr<IShow> ShowPtr;
typedef std::shared_ptr<IShowEpisode> ShowEpisodePtr;
typedef std::shared_ptr<IMovie> MoviePtr;
#include "Types.h"
class IMediaLibrary
{
......
#ifndef TYPES_H
#define TYPES_H
#include <memory>
class IAlbum;
class IAlbumTrack;
class IFile;
class ILabel;
class IMetadataService;
class IMovie;
class IShow;
class IShowEpisode;
typedef std::shared_ptr<IFile> FilePtr;
typedef std::shared_ptr<ILabel> LabelPtr;
typedef std::shared_ptr<IAlbum> AlbumPtr;
typedef std::shared_ptr<IAlbumTrack> AlbumTrackPtr;
typedef std::shared_ptr<IShow> ShowPtr;
typedef std::shared_ptr<IShowEpisode> ShowEpisodePtr;
typedef std::shared_ptr<IMovie> MoviePtr;
#endif // TYPES_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