/Source/externals/GData/Source/Clients/Calendar/GDataCalendarSettingsProperty.m
http://google-email-uploader-mac.googlecode.com/ · Objective C · 47 lines · 17 code · 11 blank · 19 comment · 1 complexity · aaa93e2600ede3d2e3542dcd3cb3980f MD5 · raw file
- /* Copyright (c) 2009 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- //
- // GDataCalendarSettingsProperty.m
- //
- #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE
- // calendar settings property, like
- // <gCal:settingsProperty name="country" value="EH"/>
- #import "GDataCalendarSettingsProperty.h"
- #import "GDataEntryCalendarEvent.h" // for calendar namespace
- #import "GDataObject.h"
- @implementation GDataCalendarSettingsProperty
- + (NSString *)extensionElementURI { return kGDataNamespaceGCal; }
- + (NSString *)extensionElementPrefix { return kGDataNamespaceGCalPrefix; }
- + (NSString *)extensionElementLocalName { return @"settingsProperty"; }
- #pragma mark -
- - (NSString *)value {
- return [self stringValue];
- }
- - (void)setValue:(NSString *)str {
- [self setStringValue:str];
- }
- @end
- #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE