cog/Feedback/FeedbackSocket.h

38 lines
806 B
C
Raw Normal View History

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>
@protocol FeedbackSocketDelegate;
2005-06-02 18:16:43 +00:00
@interface FeedbackSocket : NSObject {
NSString *from;
NSString *subject;
NSString *message;
NSString *version;
id<FeedbackSocketDelegate> delegate;
2005-06-02 18:16:43 +00:00
}
- (void)setDelegate:(id<FeedbackSocketDelegate>)d;
- (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;
- (void)setVersion:(NSString *)v;
2005-06-02 18:16:43 +00:00
@end
@protocol FeedbackSocketDelegate <NSObject>
- (void)feedbackDidSend:(FeedbackSocket *)feedback;
- (void)feedbackDidNotSend:(FeedbackSocket *)feedback;
@end