//
//  DiscoveryContoller.h
//  TagDemo
//
//  Created by jcassidy on 10-11-16.
//  Copyright 2010 Visible Assets Inc.. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PingThread.h"
#import "Tag.h"

@interface DiscoveryViewController : UIViewController {
	IBOutlet		UIButton		*discoveryButton;
	IBOutlet		UITextField		*discoveryTextField;
	IBOutlet		UISwitch		*pingSwitch;
	IBOutlet		UILabel			*pingCountLabel;
	
				int				pingCount;
				PingThread		*pingThread;
				BOOL			pingRunFlag;
}

- (void) discoverTag:(id) sender;
- (void) pingTag:(id) sender;
- (void) refreshView;
- (void) beep;
- (void) tagPinged:(Tag *) tag;

@end
