NewsBlur/clients/ios/Other Sources/Overshare Kit/OSKMicrobloggingActivity.h

30 lines
664 B
C
Raw Normal View History

2014-01-06 17:55:14 -08:00
//
// OSKMicrobloggingActivity.h
// Overshare
//
//
// Copyright (c) 2013 Overshare Kit. All rights reserved.
//
@import Foundation;
#import "OSKSyntaxHighlighting.h"
2014-02-27 16:54:25 -08:00
@class OSKMicroblogPostContentItem;
2014-01-06 17:55:14 -08:00
@protocol OSKMicrobloggingActivity <NSObject>
2014-02-27 16:54:25 -08:00
@property (assign, nonatomic) NSInteger remainingCharacterCount;
2014-01-06 17:55:14 -08:00
- (NSInteger)maximumCharacterCount;
- (NSInteger)maximumImageCount;
- (NSInteger)maximumUsernameLength;
2014-02-27 16:54:25 -08:00
- (NSInteger)updateRemainingCharacterCount:(OSKMicroblogPostContentItem *)contentItem urlEntities:(NSArray *)urlEntities;
- (OSKSyntaxHighlighting)syntaxHighlighting;
2014-02-27 16:54:25 -08:00
@optional
- (BOOL)allowLinkShortening; // OSK assumes YES.
2014-01-06 17:55:14 -08:00
@end