]> git.sesse.net Git - vlc/blobdiff - projects/macosx/framework/Headers/Public/VLCTime.h
VLCKit: Import MobileVLCKit.
[vlc] / projects / macosx / framework / Headers / Public / VLCTime.h
index 6ebac8b29eb2bf323f25c076f7c3d2c564f6e19c..7d22297a188cf98641554f2f62abd6466c3a4014 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
 
 /**
  * Provides an object to define VLCMedia's time.
  */
-@interface VLCTime : NSObject
+@interface VLCTime : NSObject <NSCopying>
 {
     NSNumber * value;       //< Holds, in seconds, the VLCTime value
 }
 /* Factories */
 + (VLCTime *)nullTime;
 + (VLCTime *)timeWithNumber:(NSNumber *)aNumber;
++ (VLCTime *)timeWithInt:(NSInteger)aInt;
 
 /* Initializers */
 - (id)initWithNumber:(NSNumber *)aNumber;
+- (id)initWithInt:(int)aInt;
 
 /* Properties */
 @property (readonly) NSNumber * numberValue;
 @property (readonly) NSString * stringValue;
+@property (readonly) NSString * verboseStringValue;
+@property (readonly) int intValue;
 
 /* Comparitors */
 - (NSComparisonResult)compare:(VLCTime *)aTime;