mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 20:01:56 +03:00
27 lines
428 B
Objective-C
Executable File
27 lines
428 B
Objective-C
Executable File
#import <Foundation/Foundation.h>
|
|
|
|
/**
|
|
* Protocol declaring service logic.
|
|
*/
|
|
@protocol MSService <NSObject>
|
|
|
|
/**
|
|
* Enable/disable this service.
|
|
*
|
|
* @param isEnabled whether this service is enabled or not.
|
|
*
|
|
* @see isEnabled
|
|
*/
|
|
+ (void)setEnabled:(BOOL)isEnabled;
|
|
|
|
/**
|
|
* Is this service enabled.
|
|
*
|
|
* @return a boolean whether this service is enabled or not.
|
|
*
|
|
* @see setEnabled:
|
|
*/
|
|
+ (BOOL)isEnabled;
|
|
|
|
@end
|