Files
vienna-rss/Vienna/Sources/Alerts/NewSubscription.h
T
Eitot d4f3d2a977 Move instance variable declarations from interface to implementation
Clang allows instance variable declaration in the class implementation. Apple has recommended this since at least 2013: https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ObjectiveC/Chapters/ocDefiningClasses.html.
2023-05-29 07:21:55 +02:00

45 lines
1.4 KiB
Objective-C

//
// NewSubscription.h
// Vienna
//
// Created by Steve on 4/23/05.
// Copyright (c) 2004-2005 Steve Palmer. All rights reserved.
//
// 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.
//
@import Cocoa;
@class Database;
@interface NewSubscription : NSWindowController
@property BOOL googleOptionButton;
@property NSArray * topObjects;
// Action handlers
-(IBAction)doSubscribe:(id)sender;
-(IBAction)doSave:(id)sender;
-(IBAction)doSubscribeCancel:(id)sender;
-(IBAction)doEditCancel:(id)sender;
-(IBAction)doLinkSourceChanged:(id)sender;
-(IBAction)doShowSiteHomePage:(id)sender;
-(IBAction)doGoogleOption:(id)sender;
// General functions
-(instancetype)initWithDatabase:(Database *)newDb /*NS_DESIGNATED_INITIALIZER*/;
-(void)newSubscription:(NSWindow *)window initialURL:(NSString *)initialURL;
-(void)editSubscription:(NSWindow *)window folderId:(NSInteger)folderId;
@end