mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-22 03:11:16 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/devmodules/dev-libs/ec@34775 72102866-910b-0410-8b05-ffd578937521
32 lines
732 B
Objective-C
32 lines
732 B
Objective-C
|
|
#import <Foundation/NSObject.h>
|
|
|
|
@class GSMimeSMTPClient;
|
|
@class NSArray;
|
|
@class NSMutableArray;
|
|
@class NSMutableDictionary;
|
|
@class NSString;
|
|
@class NSTimer;
|
|
|
|
|
|
@interface EcAlerter : NSObject
|
|
{
|
|
NSArray *rules;
|
|
NSMutableDictionary *email;
|
|
NSMutableDictionary *sms;
|
|
NSTimer *timer;
|
|
NSString *eFrom;
|
|
NSString *eHost;
|
|
NSString *ePort;
|
|
GSMimeSMTPClient *smtp;
|
|
}
|
|
- (BOOL) configure: (NSNotification*)n;
|
|
- (void) handleInfo: (NSString*)str;
|
|
- (void) flushEmail;
|
|
- (void) flushSms;
|
|
- (void) log: (NSMutableDictionary*)m to: (NSArray*)destinations;
|
|
- (void) mail: (NSMutableDictionary*)m to: (NSArray*)destinations;
|
|
- (void) sms: (NSMutableDictionary*)m to: (NSArray*)destinations;
|
|
- (void) timeout: (NSTimer*)t;
|
|
@end
|
|
|