forked from jerrykrinock/ClassesObjC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSSYBrowserPaths.h
30 lines (20 loc) · 932 Bytes
/
SSYBrowserPaths.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
#import <Cocoa/Cocoa.h>
extern NSString* const SSYBrowserPathsErrorDomain ;
@interface SSYBrowserPaths : NSObject {
}
/*!
@brief Gets profile names for a given browser and user home
@details Returns empty array if profiles.ini cannot be read
@param appSupportRelativePath The path, relative to the user's
Application Support directory, at which either a profiles.ini file
or profile subdirectories will be found. Examples: "Firefox", "Google/Chrome"
@param homePath The home path of the users for which profiles are desired
@result The array of profile names, or an empty array
*/
+ (NSArray*)profileNamesForAppSupportRelativePath:(NSString*)browserName
homePath:(NSString*)homePath ;
+ (NSString*)profilePathForAppSupportRelativePath:(NSString*)browserName
profileName:(NSString*)profileName
homePath:(NSString*)homePath
error_p:(NSError**)error_p ;
@end