/* FILE: AppController.h
 *
 * Project              TChat
 * Class                AppController
 * Creator              Chris B. Vetter
 * Maintainer           Chris B. Vetter
 * Creation Date        Mon Sep 11 15:17:32 CEST 2006
 *
 * Copyright (c) 2006
 *
 * TChat is free software under the terms of a dual BSD/LGPL license.
 * For a full copyright description, see the COPYRIGHT file.
 *
 ***************************************************************************/

#ifndef APP_CONTROLLER_H_
#define APP_CONTROLLER_H_ 1
/***************************************************************************/

//
// Include
//

#import <AppKit/NSNibDeclarations.h>
#import <AppKit/NSNibLoading.h>

#import <Foundation/NSFileHandle.h>
#import <Foundation/NSNotification.h>

#import <Tryst/NSNetServices.h>

//
// Define
//

//
// Public
//

//
// Referenced Classes
//

//
// Interface
//

/**
 * <unit>
 *   <heading>
 *     AppController class description
 *   </heading>
 *   <p>
 *     <!-- Foreword -->
 *   </p>
 *   <unit />
 *   <p>
 *     <!-- Afterword -->
 *   </p>
 * </unit>
 * <em>Description forthcoming</em>
 */

@interface AppController : NSObject
{
  @private
    IBOutlet id		 discoveredServicesList;
    IBOutlet id		 browseButton;
    IBOutlet id		 nameField;
    IBOutlet id		 title;
    IBOutlet id		 window;
    
    NSNetService	*service;
    NSNetServiceBrowser *serviceBrowser;
    NSNetServiceBrowser *domainBrowser;
    
    NSMutableArray	*foundServices;
    
    NSFileHandle	*listeningSocket;
}

+ (id) sharedController;

//
// Factory Methods
//

//
// Instance Methods
//

//
// Accessor Methods
//

@end

//
// Prototypes
//

/***************************************************************************/
#endif


syntax highlighted by Code2HTML, v. 0.9.1