Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (21 sloc) 1.12 KB
//
// 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 ANStreamMarker;
@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);
typedef void (^ANStreamMarkerRequestCompletion)(ANResponse * response, ANStreamMarker * marker, NSError * error);