PageRenderTime 47ms CodeModel.GetById 42ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Source/externals/GData/Source/Elements/GDataAtomPubControl.h

http://google-email-uploader-mac.googlecode.com/
C++ Header | 31 lines | 7 code | 5 blank | 19 comment | 0 complexity | 140d06c38656fa30d3b740b1ddfcbc26 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//  GDataAtomPubControl.h
18//
19
20#import "GDataObject.h"
21
22// For app:control, like:
23//   <app:control><app:draft>yes</app:draft></app:control>
24
25@interface GDataAtomPubControl : GDataObject <GDataExtension>
26+ (GDataAtomPubControl *)atomPubControl;
27+ (GDataAtomPubControl *)atomPubControlWithIsDraft:(BOOL)isDraft;
28
29- (BOOL)isDraft;
30- (void)setIsDraft:(BOOL)flag;
31@end