//
//  CyTVServer.h
//  CyTV Server
//
//  Created by Andreas Junghans on Thu Aug 21 2003.
//  Copyright (c) 2003-2004 Andreas Junghans. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>


/**
 * This is an additional category for the NSApplication class to make
 * Objective-C methods easily callable from AppleScript (see also
 * MultiLanguage sample provided with AppleScript Studio).
 */

@interface NSApplication (CyTVServerInterface)

- (NSString*) getEyeTVArchivePath;
- (NSString*) encodeURL: (NSString*) url;
- (NSString *) loadPreference: (NSString*) key;
- (void) savePreference: (NSString*) key value: (NSString*) value;
- (int)findPortStartingWith:(int)startPort;
- (int)findPortStartingWith:(int)startPort excluding:(int)excludedPort;
- (NSString*)getCyTVLogPath;
- (NSString*)getCyTVSupportPath;

@end
