]> git.sesse.net Git - vlc/blobdiff - projects/macosx/framework/Headers/Public/VLCMediaList.h
macosx/framework: Added [VLCMediaList initWithArray:] method
[vlc] / projects / macosx / framework / Headers / Public / VLCMediaList.h
index 45ca74e819cb1fc990d02b41a50fdcae8c6c69c8..196257d386e882e445f06d2cb11aee0afb73cf70 100644 (file)
@@ -30,7 +30,6 @@ extern NSString * VLCMediaListItemDeleted;
 
 @class VLCMedia;
 @class VLCMediaList;
-@class VLCMediaListAspect;
 
 /**
  * TODO: Documentation VLCMediaListDelegate
@@ -56,11 +55,14 @@ extern NSString * VLCMediaListItemDeleted;
     id <VLCMediaListDelegate,NSObject> delegate;    //< Delegate object
     /* We need that private copy because of Cocoa Bindings, that need to be working on first thread */
     NSMutableArray * cachedMedia;                   //< Private copy of media objects.
-    VLCMediaListAspect * flatAspect;                //< TODO: Documentation VLCMediaList.flatAspect
-    VLCMediaListAspect * hierarchicalAspect;        //< TODO: Documentation VLCMediaList.hierarchicalAspect
-    VLCMediaListAspect * hierarchicalNodeAspect;    //< TODO: Documentation VLCMediaList.hierarchicalNodeAspect
 }
 
+/**
+ * Init a MediaList with the media contained in array.
+ * \array an array of VLCMedia.
+ */
+- (id)initWithArray:(NSArray *)array;
+
 /* Operations */
 /**
  * TODO: Documentation - [VLCMediaList lock]
@@ -113,19 +115,4 @@ extern NSString * VLCMediaListItemDeleted;
  */
 @property (readonly) BOOL isReadOnly;
 
-/* Media list aspect */
-/**
- * TODO: Documentation VLCMediaList.hierarchicalAspect
- */
-@property (readonly) VLCMediaListAspect * hierarchicalAspect;
-
-/**
- * TODO: Documentation VLCMediaList.hierarchicalNodeAspect
- */
-@property (readonly) VLCMediaListAspect * hierarchicalNodeAspect;
-
-/**
- * TODO: Documentation VLCMediaList.flatAspect
- */
-@property (readonly) VLCMediaListAspect * flatAspect;
 @end