@@ -58,4 +58,13 @@
* \return The library's shared audio instance.
*/
@property (readonly) VLCAudio * audio;
+
+/**
+ * Returns the library's version
+ * \return The library version example "0.9.0-git Grishenko".
+ */
+@property (readonly) NSString * version;
@end
@@ -89,6 +89,11 @@ void __catch_exception( void * e, const char * function, const char * file, int
return self;
}
+- (NSString *)version
+{
+ return [NSString stringWithUTF8String:libvlc_get_version()];
+}
- (void)dealloc
{
if( instance )