Ignore:
Timestamp:
Nov 23, 2006, 1:38:18 AM (15 years ago)
Author:
livings124
Message:

add support in libT and the mac interface for displaying comment, creator, and date created

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r1102 r1119  
    713713}
    714714
     715- (NSString *) comment
     716{
     717    return [NSString stringWithUTF8String: fInfo->comment];
     718}
     719
     720- (NSString *) creator
     721{
     722    return [NSString stringWithUTF8String: fInfo->creator];
     723}
     724
     725- (NSDate *) dateCreated
     726{
     727    int date = fInfo->dateCreated;
     728    return date > 0 ? [NSDate dateWithTimeIntervalSince1970: fInfo->dateCreated] : nil;
     729}
     730
    715731- (int) pieceSize
    716732{
Note: See TracChangeset for help on using the changeset viewer.