]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/SideBarItem.h
macosx: add yosemite guard
[vlc] / modules / gui / macosx / SideBarItem.h
index 97dee486d611d0f107087ebea5507f62fb725a5a..b4f3f885ab03aa33e466562a53538a24e9655fa2 100644 (file)
 #import <Cocoa/Cocoa.h>
 
 /*An example of a class that could be used to represent a Source List Item
+
  Provides a title, an identifier, and an icon to be shown, as well as a badge value and a property to determine
  whether the current item has a badge or not (`badgeValue` is set to -1 if no badge is shown)
+
  Used to form a hierarchical model of SourceListItem instances – similar to the Source List tree structure
  and easily accessible by the data source with the "children" property
+
  SourceListItem *parent
   - SourceListItem *child1;
   - SourceListItem *child2;
      - SourceListItem *childOfChild2;
-        - SourceListItem *anotherChildOfChild2;
+
+ - SourceListItem *anotherChildOfChild2;
   - SourceListItem *child3;
+
  */
 
 @interface SideBarItem : NSObject {
-       NSString *title;
-       NSString *identifier;
-       NSImage *icon;
-       NSInteger badgeValue;
-       
-       NSArray *children;
+
+NSString *title;
+
+NSString *identifier;
+    NSString *untranslatedTitle;
+
+NSImage *icon;
+
+NSInteger badgeValue;
+    NSInteger sdtype;
+
+
+NSArray *children;
 }
 
 @property (nonatomic, copy) NSString *title;
 @property (nonatomic, copy) NSString *identifier;
+@property (nonatomic, copy) NSString *untranslatedTitle;
 @property (nonatomic, retain) NSImage *icon;
 @property NSInteger badgeValue;
+@property NSInteger sdtype;
 
 @property (nonatomic, copy) NSArray *children;