Statistics
| Branch: | Tag: | Revision:

root / Classes / NameAndStatusTitleView.h @ 9fee07a6

History | View | Annotate | Download (837 Bytes)

1
//
2
//  NameAndStatusTitleView.h
3
//  OpenStack
4
//
5
//  Created by Michael Mayo on 3/22/11.
6
//  Copyright 2011 __MyCompanyName__. All rights reserved.
7
//
8

    
9
#import <UIKit/UIKit.h>
10

    
11
@class Server, DDProgressView;
12

    
13
@interface NameAndStatusTitleView : UIView {
14
}
15

    
16
// The entity for this view should respond to the following selectors:
17
// name, status, progress, shouldBePolled
18
@property (nonatomic, retain) id entity;
19
@property (nonatomic, retain) UIView *statusTint;
20
@property (nonatomic, retain) UILabel *nameLabel;
21
@property (nonatomic, retain) UILabel *statusLabel;
22
@property (nonatomic, retain) UIImageView *logoView;
23
@property (nonatomic, retain) NSString *logoFilename;
24
@property (nonatomic, retain) DDProgressView *progressView;
25

    
26
- (id)initWithEntity:(id)entity;
27
- (id)initWithEntity:(id)entity logoFilename:(NSString *)filename;
28

    
29
@end