Logo Search packages:      
Sourcecode: talksoup.app version File versions  Download package

Highlighting.h

/***************************************************************************
                                Highlighting.h
                          -------------------
    begin                : Fri May  2 16:48:50 CDT 2003
    copyright            : (C) 2003 by Andy Ruder
    email                : aeruder@yahoo.com
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

@class Highlighting;

#ifndef HIGHLIGHTING_H
#define HIGHLIGHTING_H

@class NSBundle;

#import <Foundation/NSObject.h>

#ifdef _l
      #undef _l
#endif

#define _l(X) [[NSBundle bundleForClass: [Highlighting class]] \
               localizedStringForKey: (X) value: nil \
               table: @"Localizable"]

@class NSAttributedString;
@class NSString, NSDictionary;

extern NSString *HighlightingShouldDoNick;
extern NSString *HighlightingUserColor;
extern NSString *HighlightingTabReferenceColor;
extern NSString *HighlightingTabAnythingColor;
extern NSString *HighlightingExtraWords;

@interface Highlighting : NSObject
      {
            id controller;
      }

+ (NSDictionary *)defaultSettings;
+ (void)setDefaultsObject: aObject forKey: aKey;
+ (id)defaultsObjectForKey: aKey;
+ (id)defaultDefaultsForKey: aKey;

- messageReceived: (NSAttributedString *)aMessage to: (NSAttributedString *)to
   from: (NSAttributedString *)sender onConnection: (id)connection 
   withNickname: (NSAttributedString *)aNick
   sender: aPlugin;

- noticeReceived: (NSAttributedString *)aMessage to: (NSAttributedString *)to
   from: (NSAttributedString *)sender onConnection: (id)connection 
   withNickname: (NSAttributedString *)aNick
   sender: aPlugin;

- actionReceived: (NSAttributedString *)anAction to: (NSAttributedString *)to
   from: (NSAttributedString *)sender onConnection: (id)connection 
   withNickname: (NSAttributedString *)aNick
   sender: aPlugin;
@end


#endif

Generated by  Doxygen 1.6.0   Back to index