text: //
  //  ADJPackageHandler.h
  //  Adjust
  //
  //  Created by Christian Wellenbrock on 2013-07-03.
  //  Copyright (c) 2013 adjust GmbH. All rights reserved.
  //
  #import <Foundation/Foundation.h>
  
  #import "ADJActivityPackage.h"
  #import "ADJPackageHandler.h"
  #import "ADJActivityHandler.h"
  
  @protocol ADJPackageHandler
  
  - (id)initWithActivityHandler:(id<ADJActivityHandler>)activityHandler;
  
  - (void)addPackage:(ADJActivityPackage *)package;
  - (void)sendFirstPackage;
  - (void)sendNextPackage;
  - (void)closeFirstPackage;
  - (void)pauseSending;
  - (void)resumeSending;
  - (void)finishedTrackingActivity:(NSDictionary *)jsonDict;
  - (void)sendClickPackage:(ADJActivityPackage *) clickPackage;
  
  @end
  
  @interface ADJPackageHandler : NSObject <ADJPackageHandler>
  
  + (id<ADJPackageHandler>)handlerWithActivityHandler:(id<ADJActivityHandler>)activityHandler;
  
  @end
  