PageRenderTime 20ms CodeModel.GetById 1ms app.highlight 14ms RepoModel.GetById 1ms app.codeStats 0ms

/core/externals/update-engine/externals/gdata-objectivec-client/Examples/MapsSample/MapsSampleWindowController.h

http://macfuse.googlecode.com/
C++ Header | 79 lines | 43 code | 19 blank | 17 comment | 0 complexity | 0a7bb5ffe9731daa0882cca9b40e4234 MD5 | raw file
 1/* Copyright (c) 2009 Google Inc.
 2 *
 3 * Licensed under the Apache License, Version 2.0 (the "License");
 4 * you may not use this file except in compliance with the License.
 5 * You may obtain a copy of the License at
 6 *
 7 *     http://www.apache.org/licenses/LICENSE-2.0
 8 *
 9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16//
17//  MapTableSampleWindowController.h
18//
19
20#import <Cocoa/Cocoa.h>
21
22#import "GData/GDataMaps.h"
23
24@interface MapsSampleWindowController : NSWindowController {
25  IBOutlet NSTextField *mUsernameField;
26  IBOutlet NSSecureTextField *mPasswordField;
27
28  IBOutlet NSButton *mAddMapButton;
29  IBOutlet NSButton *mRenameMapButton;
30  IBOutlet NSButton *mDeleteMapButton;
31  IBOutlet NSTextField *mMapNameField;
32
33  IBOutlet NSButton *mAddFeatureButton;
34  IBOutlet NSButton *mRenameFeatureButton;
35  IBOutlet NSButton *mDeleteFeatureButton;
36  IBOutlet NSTextField *mFeatureNameField;
37
38  IBOutlet NSTableView *mMapTable;
39  IBOutlet NSProgressIndicator *mMapProgressIndicator;
40  IBOutlet NSTextView *mMapResultTextField;
41
42  IBOutlet NSButton *mSpatialSearchCheckbox;
43  IBOutlet NSTextField *mLatitudeField;
44  IBOutlet NSTextField *mLongitudeField;
45  IBOutlet NSTextField *mRadiusField;
46
47  IBOutlet NSTableView *mFeatureTable;
48  IBOutlet NSProgressIndicator *mFeatureProgressIndicator;
49  IBOutlet NSTextView *mFeatureResultTextField;
50
51  GDataFeedMap *mMapFeed;
52  GDataServiceTicket *mMapFeedTicket;
53  NSError *mMapFetchError;
54
55  GDataServiceTicket *mMapEditTicket;
56
57  GDataFeedMapFeature *mFeatureFeed;
58  GDataServiceTicket *mFeatureFeedTicket;
59  NSError *mFeatureFetchError;
60
61  GDataServiceTicket *mFeatureEditTicket;
62}
63
64+ (MapsSampleWindowController *)sharedWindowController;
65
66- (IBAction)getMapsClicked:(id)sender;
67
68- (IBAction)addMapClicked:(id)sender;
69- (IBAction)renameMapClicked:(id)sender;
70- (IBAction)deleteMapClicked:(id)sender;
71
72- (IBAction)spatialSearchClicked:(id)sender;
73
74- (IBAction)addFeatureClicked:(id)sender;
75- (IBAction)renameFeatureClicked:(id)sender;
76- (IBAction)deleteFeatureClicked:(id)sender;
77
78- (IBAction)loggingCheckboxClicked:(id)sender;
79@end