Added the ability to get the message index number

This commit is contained in:
mronge@mronges-macbook-pro-15.local
2007-07-15 19:26:40 -07:00
parent ced92ee788
commit b4ce613d2e
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -86,6 +86,11 @@
*/
- (NSString *)uid;
/*!
@abstract Returns the message index, this number cannot be used across sessions
*/
- (NSUInteger)indexNumber;
/*!
@abstract Parses the from list, the result is an NSSet containing CTCoreAddress's
*/
+4
View File
@@ -164,6 +164,10 @@
return [NSString stringWithCString:myMessage->msg_uid encoding:NSASCIIStringEncoding];
}
- (NSUInteger)indexNumber {
return myMessage->msg_index;
}
- (NSSet *)from {
if (myFields->fld_from == NULL)