-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathALAdSize.h
43 lines (31 loc) · 808 Bytes
/
ALAdSize.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// ALAdSize.h
// sdk
//
// Created by Basil on 2/27/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
* This class defines a size of an ad to be displayed. It is recommended to use default sizes that are
* declared in this class (<code>BANNER</code>, <code>INTERSTITIAL</code>)
*
* @author Basil Shikin
* @version 1.0
*/
@interface ALAdSize : NSObject<NSCopying> {
NSUInteger width;
NSUInteger height;
NSString * label;
}
-(NSUInteger) width;
-(NSUInteger) height;
-(NSString *) label;
-(id)initWith: (NSString *)label;
-(id)initWith: (NSUInteger)width by:(NSUInteger)height;
+(ALAdSize *) sizeBanner;
+(ALAdSize *) sizeInterstitial;
+(ALAdSize *) sizeMRec;
+(ALAdSize *) sizeLeader;
+(NSArray *) allSizes;
@end