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

/core/externals/update-engine/externals/gdata-objectivec-client/Examples/SpreadsheetSample/SpreadsheetSampleWindowController.h

http://macfuse.googlecode.com/
C++ Header | 60 lines | 30 code | 13 blank | 17 comment | 0 complexity | 06d9236b43bee82476902336442747d9 MD5 | raw file
 1/* Copyright (c) 2007 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//  SpreadsheetSampleWindowController.h
18//
19
20#import <Cocoa/Cocoa.h>
21
22#import "GData/GData.h"
23
24@interface SpreadsheetSampleWindowController : NSWindowController {
25  IBOutlet NSTextField *mUsernameField;
26  IBOutlet NSSecureTextField *mPasswordField;
27  
28  IBOutlet NSTableView *mSpreadsheetTable;
29  IBOutlet NSProgressIndicator *mSpreadsheetProgressIndicator;
30  IBOutlet NSTextView *mSpreadsheetResultTextField;
31
32  IBOutlet NSTableView *mWorksheetTable;
33  IBOutlet NSProgressIndicator *mWorksheetProgressIndicator;
34  IBOutlet NSTextView *mWorksheetResultTextField;
35  
36  IBOutlet NSSegmentedControl *mFeedSelectorSegments;
37  IBOutlet NSTableView *mEntryTable;
38  IBOutlet NSProgressIndicator *mEntryProgressIndicator;
39  IBOutlet NSTextView *mEntryResultTextField;
40  
41  GDataFeedSpreadsheet *mSpreadsheetFeed;
42  BOOL mIsSpreadsheetFetchPending;
43  NSError *mSpreadsheetFetchError;
44    
45  GDataFeedWorksheet *mWorksheetFeed;
46  BOOL mIsWorksheetFetchPending;
47  NSError *mWorksheetFetchError;
48  
49  GDataFeedBase *mEntryFeed;
50  BOOL mIsEntryFetchPending;
51  NSError *mEntryFetchError;
52}
53
54+ (SpreadsheetSampleWindowController *)sharedSpreadsheetSampleWindowController;
55
56- (IBAction)getSpreadsheetClicked:(id)sender;
57- (IBAction)feedSegmentClicked:(id)sender;
58- (IBAction)loggingCheckboxClicked:(id)sender;
59
60@end