forked from strongbox-password-safe/Strongbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
StorageBrowserItem.h
27 lines (20 loc) · 903 Bytes
/
StorageBrowserItem.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
//
// StorageBrowserItem.h
// StrongBox
//
// Created by Mark on 26/05/2017.
// Copyright © 2014-2021 Mark McGuill. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface StorageBrowserItem : NSObject
+ (instancetype)itemWithName:(NSString*)name identifier:(NSString*_Nullable)identifier folder:(BOOL)folder providerData:(id _Nullable)providerData;
+ (instancetype)itemWithName:(NSString*)name identifier:(NSString*_Nullable)identifier folder:(BOOL)folder canNotCreateDatabaseInThisFolder:(BOOL)canCreateDatabaseInThisFolder providerData:(id _Nullable)providerData;
@property (nonatomic) BOOL folder;
@property (nonatomic) BOOL canNotCreateDatabaseInThisFolder;
@property (nonatomic) NSString *name;
@property (nonatomic) NSString *identifier;
@property (nonatomic, nullable) NSObject *providerData;
@property BOOL disabled;
@end
NS_ASSUME_NONNULL_END