// // Queue.h // VKPC // // Created by Eugene on 12/3/13. // Copyright (c) 2013 Eugene Z. All rights reserved. // #import #import "QueueControllerProtocol.h" @interface Queue : NSObject { __strong id handler; NSMutableArray *tasks; BOOL active; } - (void)setHandler:(__strong id)val; - (void)addTask:(id)task; - (void)process; - (void)passToHandler:(id)task; - (void)taskDone; @end