-
Notifications
You must be signed in to change notification settings - Fork 3
/
SCAccountInfoManager.h
44 lines (33 loc) · 1.04 KB
/
SCAccountInfoManager.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
Copyright (C) 2012 Alessandro Sangiuliano
Author: Alessandro Sangiuliano <alex22_7@hotmail.com>
Date: January 2012
License: Modified BSD
*/
#import <Foundation/Foundation.h>
#import <XMPPKit/XMPPAccount.h>
@interface SCAccountInfoManager : NSObject
{
NSMutableString *__strong filePath;
NSString *fileName;
NSMutableString *gPath;
}
/**
* The SCAccountInfoManager is a class to handle user account information,
* like the JID. It also is used to store these informations.
*/
/* This class is temporary. It was implemented to replace the AddressesKit
* code, that at the time did work bad on Linux and FreeBSD, with
* not predictable behavior on 64 bit version of the two systems.
* (this comment will be removed soon) <- FIXME
*/
@property (strong, nonatomic, readonly) NSString *filePath;
/**
* Read the JID from a file and returns it.
*/
- (NSString*) readJIDFromFileAtPath:(NSString*)aPath;
/**
* Write a JID to a file at a given path
*/
- (void) writeJIDToFile:(JID*)aJID atPath:(NSString*)aPath;
@end