-
Notifications
You must be signed in to change notification settings - Fork 8
/
ANCompletions.h
22 lines (19 loc) · 1006 Bytes
/
ANCompletions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
// ANCompletions.h
// AppNetKit
//
// Created by Brent Royal-Gordon on 8/19/12.
// Copyright (c) 2012 Architechies. See README.md for licensing information.
//
#import <Foundation/Foundation.h>
@class ANUser;
@class ANPost;
@class ANFilter;
@class ANResponse;
typedef void (^ANAccessTokenInformationRequestCompletion)(ANResponse * response, NSArray * scopes, ANUser * user, NSError * error);
typedef void (^ANUserRequestCompletion)(ANResponse * response, ANUser * user, NSError * error);
typedef void (^ANUserListRequestCompletion)(ANResponse * response, NSArray * users, NSError * error);
typedef void (^ANPostRequestCompletion)(ANResponse * response, ANPost * post, NSError * error);
typedef void (^ANPostListRequestCompletion)(ANResponse * response, NSArray * posts, NSError * error);
typedef void (^ANFilterRequestCompletion)(ANResponse * response, ANFilter * filter, NSError * error);
typedef void (^ANFilterListRequestCompletion)(ANResponse * response, NSArray * filters, NSError * error);