preset advanced widget template profile

This commit is contained in:
TrueZhuangjia authored and TrueZhuanjia committed 2025-04-03 00:13:52 +08:00
1 parent a03a50d238
commit f260d75372
6 files changed
+64 -10

No files matched your search

@@ -16,6 +16,7 @@ NS_ASSUME_NONNULL_BEGIN
Note that the implementation file contains a number of 'Helper' methods. These helper methods are only used in this class's implementation file and help to reduce re-writing large blocks of code that are called multiple times throughout the file
*/
@interface OSCProfilesManager : NSObject
@property NSMutableArray <OSCProfile *> *currentProfiles;
+ (OSCProfilesManager *) sharedManager:(CGRect)viewBounds;
@@ -40,7 +41,7 @@ NS_ASSUME_NONNULL_BEGIN
- (NSMutableArray *) getEncodedProfiles;
- (void) importEncodedProfiles:(NSMutableArray* )profilesEncoded;
- (OnScreenButtonState *)unarchiveButtonStateEncoded:(NSData *)data;
- (void) importDefaultTemplates;
#pragma mark - Setters
/**
@@ -64,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN
* Lets the caller of this method know whether a profile with a given name already exists in persistent storage
*/
- (BOOL) profileNameAlreadyExist:(NSString*)name;
- (BOOL) profileName:(NSString*) name alreadyExistIn:(NSMutableArray*)profiles;
@end