2005-06-02 18:16:43 +00:00
|
|
|
//
|
|
|
|
// FeedbackSocket.h
|
|
|
|
// Cog
|
|
|
|
//
|
|
|
|
// Created by Vincent Spader on 3/27/05.
|
2005-07-02 21:02:06 +00:00
|
|
|
// Copyright 2005 Vincent Spader All rights reserved.
|
2005-06-02 18:16:43 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
2009-03-07 23:08:43 +00:00
|
|
|
@protocol FeedbackSocketDelegate;
|
2005-06-02 18:16:43 +00:00
|
|
|
|
|
|
|
@interface FeedbackSocket : NSObject {
|
|
|
|
NSString *from;
|
|
|
|
NSString *subject;
|
|
|
|
NSString *message;
|
2007-05-27 15:34:04 +00:00
|
|
|
NSString *version;
|
2005-06-02 18:16:43 +00:00
|
|
|
|
2009-03-07 23:08:43 +00:00
|
|
|
id<FeedbackSocketDelegate> delegate;
|
2005-06-02 18:16:43 +00:00
|
|
|
}
|
|
|
|
|
2009-03-07 23:08:43 +00:00
|
|
|
- (void)setDelegate:(id<FeedbackSocketDelegate>)d;
|
2007-05-27 15:34:04 +00:00
|
|
|
- (void)sendFeedback: (NSString *)f subject:(NSString *)s message:(NSString *)m version:(NSString *)v;
|
2005-06-02 18:16:43 +00:00
|
|
|
|
|
|
|
- (void)setFrom:(NSString *)f;
|
|
|
|
- (void)setSubject:(NSString *)s;
|
|
|
|
- (void)setMessage:(NSString *)m;
|
2007-05-27 15:34:04 +00:00
|
|
|
- (void)setVersion:(NSString *)v;
|
2005-06-02 18:16:43 +00:00
|
|
|
|
|
|
|
@end
|
2009-03-07 23:08:43 +00:00
|
|
|
|
|
|
|
@protocol FeedbackSocketDelegate<NSObject>
|
|
|
|
|
|
|
|
- (void)feedbackDidSend:(FeedbackSocket *)feedback;
|
|
|
|
- (void)feedbackDidNotSend:(FeedbackSocket *)feedback;
|
|
|
|
|
|
|
|
@end
|