Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

60 lines (54 sloc) 1.933 kb
//
// 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/Cocoa.h>
#import "Database.h"
@interface NewSubscription : NSWindowController {
IBOutlet NSTextField * linkTitle;
IBOutlet NSTextField * feedURL;
IBOutlet NSTextField * editFeedURL;
IBOutlet NSPopUpButton * feedSource;
IBOutlet NSButton * subscribeButton;
IBOutlet NSButton * saveButton;
IBOutlet NSButton * editCancelButton;
IBOutlet NSButton * subscribeCancelButton;
IBOutlet NSWindow * newRSSFeedWindow;
IBOutlet NSWindow * editRSSFeedWindow;
IBOutlet NSButton * siteHomePageButton;
BOOL googleOptionButton;
NSDictionary * sourcesDict;
Database * db;
int parentId;
int editFolderId;
}
@property BOOL googleOptionButton;
// 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
-(id)initWithDatabase:(Database *)newDb;
-(void)newSubscription:(NSWindow *)window underParent:(int)itemId initialURL:(NSString *)initialURL;
-(void)editSubscription:(NSWindow *)window folderId:(int)folderId;
-(NSString *)verifyFeedURL:(NSString *)feedURLString;
@end
Jump to Line
Something went wrong with that request. Please try again.