Developer Area

root/apps/iphone/my.tel/trunk/Classes/KeywordEditController.h @ 149

Revision 149, 2.2 kB (checked in by henri, 6 years ago)

Inserted Telnic Ltd. in place of MyCompanyName

Line 
1//
2//  KeywordEditController.h
3//  VIP.tel
4//
5//  Created by Henri Asseily on 11/27/08.
6//  Copyright 2008 Telnic Ltd.. All rights reserved.
7//
8
9#import <UIKit/UIKit.h>
10#import <QuartzCore/QuartzCore.h>
11#import "VIPConnect.h"
12#import "Keyword.h"
13#import "aKeywordView.h"
14#import "baKeywordView.h"
15#import "nKeywordView.h"
16#import "ftKeywordView.h"
17#import "hiKeywordView.h"
18#import "diKeywordView.h"
19#import "biKeywordView.h"
20
21@protocol KeywordEditDelegate
22
23- (void)didStoreKeyword:(NSDictionary *)aRec;
24- (NSDictionary *)delegateKeywordTypes;
25
26@end
27
28
29@interface KeywordEditController : UIViewController <UITextFieldDelegate, UITextViewDelegate> {
30        IBOutlet UIBarButtonItem *barHeader;
31        IBOutlet UIBarButtonItem *barButtonSave;
32        IBOutlet UISegmentedControl *primaryKeywords;
33        IBOutlet UITextField *rValue;
34        IBOutlet UIActivityIndicatorView *saveIndicator;
35       
36        IBOutlet UILabel *editKeywordType;              // title for keyword being edited
37        IBOutlet UITextView *secondariesDescription;    // description string for secondaries (no editing)
38        IBOutlet UIScrollView *secViewContainer;                // view containing the secondary view
39       
40        id <KeywordEditDelegate> caller;
41@private
42        NSMutableArray *tArrKey;
43        NSMutableArray *tArrVal;
44        NSMutableDictionary *theKeyword;
45        NSArray *arraySecondaryViews;
46        AbstractKeywordView *currentSecondaryView;
47        // Below for keyboard notification
48        UIView *activeField;
49        BOOL keyboardShown;
50}
51
52- (void)presentViewForRecord:(NSDictionary *)aRec;
53- (void)displaySecondaryViewAtIndex:(NSInteger)idx;
54- (IBAction)keywordTypeDidChange:(UISegmentedControl *)sender;
55- (IBAction)didClickCancel:(id)sender;
56- (IBAction)didClickSave:(id)sender;
57
58@property (nonatomic, retain) IBOutlet UIBarButtonItem *barHeader;
59@property (nonatomic, retain) IBOutlet UIBarButtonItem *barButtonSave;
60@property (nonatomic, retain) IBOutlet UISegmentedControl *primaryKeywords;
61@property (nonatomic, retain) IBOutlet UITextField *rValue;
62@property (nonatomic, retain) IBOutlet UILabel *editKeywordType;
63@property (nonatomic, retain) IBOutlet UITextView *secondariesDescription;
64@property (nonatomic, retain) IBOutlet UIView *secViewContainer;
65@property (nonatomic, retain) IBOutlet UIActivityIndicatorView *saveIndicator;
66@property (retain) id caller;
67
68@end
Note: See TracBrowser for help on using the browser.
Telnic
Search This Site
Partners
Neustar
ICANN
Main site | WHOIS | Sell .tel | FAQ | Archived Site | About Telnic | Contact Us