* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#import <Cocoa/Cocoa.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:(int)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;