PageRenderTime 16ms CodeModel.GetById 10ms RepoModel.GetById 0ms 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
Possible License(s): Apache-2.0, BSD-3-Clause, GPL-2.0
  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. // MapTableSampleWindowController.h
  17. //
  18. #import <Cocoa/Cocoa.h>
  19. #import "GData/GDataMaps.h"
  20. @interface MapsSampleWindowController : NSWindowController {
  21. IBOutlet NSTextField *mUsernameField;
  22. IBOutlet NSSecureTextField *mPasswordField;
  23. IBOutlet NSButton *mAddMapButton;
  24. IBOutlet NSButton *mRenameMapButton;
  25. IBOutlet NSButton *mDeleteMapButton;
  26. IBOutlet NSTextField *mMapNameField;
  27. IBOutlet NSButton *mAddFeatureButton;
  28. IBOutlet NSButton *mRenameFeatureButton;
  29. IBOutlet NSButton *mDeleteFeatureButton;
  30. IBOutlet NSTextField *mFeatureNameField;
  31. IBOutlet NSTableView *mMapTable;
  32. IBOutlet NSProgressIndicator *mMapProgressIndicator;
  33. IBOutlet NSTextView *mMapResultTextField;
  34. IBOutlet NSButton *mSpatialSearchCheckbox;
  35. IBOutlet NSTextField *mLatitudeField;
  36. IBOutlet NSTextField *mLongitudeField;
  37. IBOutlet NSTextField *mRadiusField;
  38. IBOutlet NSTableView *mFeatureTable;
  39. IBOutlet NSProgressIndicator *mFeatureProgressIndicator;
  40. IBOutlet NSTextView *mFeatureResultTextField;
  41. GDataFeedMap *mMapFeed;
  42. GDataServiceTicket *mMapFeedTicket;
  43. NSError *mMapFetchError;
  44. GDataServiceTicket *mMapEditTicket;
  45. GDataFeedMapFeature *mFeatureFeed;
  46. GDataServiceTicket *mFeatureFeedTicket;
  47. NSError *mFeatureFetchError;
  48. GDataServiceTicket *mFeatureEditTicket;
  49. }
  50. + (MapsSampleWindowController *)sharedWindowController;
  51. - (IBAction)getMapsClicked:(id)sender;
  52. - (IBAction)addMapClicked:(id)sender;
  53. - (IBAction)renameMapClicked:(id)sender;
  54. - (IBAction)deleteMapClicked:(id)sender;
  55. - (IBAction)spatialSearchClicked:(id)sender;
  56. - (IBAction)addFeatureClicked:(id)sender;
  57. - (IBAction)renameFeatureClicked:(id)sender;
  58. - (IBAction)deleteFeatureClicked:(id)sender;
  59. - (IBAction)loggingCheckboxClicked:(id)sender;
  60. @end