mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 04:11:50 +03:00
27 lines
428 B
Objective-C
27 lines
428 B
Objective-C
#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
|