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

Add default constructors

parent 8ff33f8a
...@@ -139,6 +139,13 @@ public: ...@@ -139,6 +139,13 @@ public:
retain(); retain();
} }
/**
* Create an empty VLC Media instance.
*
* Calling any method on such an instance is undefined.
*/
Media() = default;
/** /**
* Check if 2 Media objects contain the same libvlc_media_t. * Check if 2 Media objects contain the same libvlc_media_t.
* \param another another Media * \param another another Media
......
...@@ -44,6 +44,13 @@ public: ...@@ -44,6 +44,13 @@ public:
{ {
} }
/**
* Create an empty VLC MediaLibrary instance.
*
* Calling any method on such an instance is undefined.
*/
MediaLibrary() = default;
/** /**
* Check if 2 MediaLibrary objects contain the same libvlc_media_library_t. * Check if 2 MediaLibrary objects contain the same libvlc_media_library_t.
* \param another another MediaLibrary * \param another another MediaLibrary
......
...@@ -96,6 +96,13 @@ public: ...@@ -96,6 +96,13 @@ public:
{ {
} }
/**
* Create an empty VLC MediaList instance.
*
* Calling any method on such an instance is undefined.
*/
MediaList() = default;
/** /**
* Associate media instance with this media list instance. If another * Associate media instance with this media list instance. If another
* media instance was present it will be released. The * media instance was present it will be released. The
......
...@@ -59,6 +59,12 @@ public: ...@@ -59,6 +59,12 @@ public:
{ {
} }
/**
* Create an empty VLC MediaListPlayer instance.
*
* Calling any method on such an instance is undefined.
*/
MediaListPlayer() = default;
/** /**
* Return the event manager of this media_list_player. * Return the event manager of this media_list_player.
......
...@@ -96,6 +96,12 @@ public: ...@@ -96,6 +96,12 @@ public:
{ {
} }
/**
* Create an empty VLC MediaPlayer instance.
*
* Calling any method on such an instance is undefined.
*/
MediaPlayer() = default;
/** /**
* Set the media that will be used by the media_player. If any, previous * Set the media that will be used by the media_player. If any, previous
......
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