//
//  FrequencyCapManager.h
//
//  Created by bitdrome on 10/12/13.
//
//

#import <Foundation/Foundation.h>

@interface FrequencyCapManager : NSObject{
	NSString*	appKey;
	id			mutex;
	
	time_t		lastUpdateTimeStamp;
}

+ (FrequencyCapManager*) initializeWithAppKey:(NSString*)_appKey;
+ (NSInteger) getNumberOfDisplaysStillAvailableForItemWithId:(NSString*)itemId;
+ (NSInteger)getSkipAfterSecsValueForItemWithId:(NSString*)itemId;
+ (BOOL) canDisplayAdForItemWithId:(NSString*)itemId;
+ (void) setDisplayConsumedForItemWithId:(NSString*)itemId;

@end
