root/Trunk/Adium.framework/Versions/A/Headers/AITextAttachmentExtension.h @ 2

Revision 2, 2.0 KB (checked in by jon, 16 years ago)

Initial commit of skeletal project.

Line 
1/*-------------------------------------------------------------------------------------------------------*\
2| Adium, Copyright (C) 2001-2006, Adam Iser  (adamiser@mac.com | http://www.adiumx.com)                   |
3\---------------------------------------------------------------------------------------------------------/
4| This program is free software; you can redistribute it and/or modify it under the terms of the GNU
5| General Public License as published by the Free Software Foundation; either version 2 of the License,
6| or (at your option) any later version.
7|
8| This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
9| the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
10| Public License for more details.
11|
12| You should have received a copy of the GNU General Public License along with this program; if not,
13| write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
14\------------------------------------------------------------------------------------------------------ */
15
16@interface AITextAttachmentExtension : NSTextAttachment <NSCopying> {
17    NSString    *stringRepresentation;
18    BOOL        shouldSaveImageForLogging;
19        BOOL            hasAlternate;
20        NSString        *path;
21        NSImage         *image;
22        NSString        *imageClass; //set as class attribute in html, used to tell images apart for CSS
23        BOOL            shouldAlwaysSendAsText;
24}
25
26+ (AITextAttachmentExtension *)textAttachmentExtensionFromTextAttachment:(NSTextAttachment *)textAttachment;
27
28- (void)setString:(NSString *)inString;
29- (NSString *)string;
30- (void)setImageClass:(NSString *)inString;
31- (NSString *)imageClass;
32- (BOOL)shouldSaveImageForLogging;
33- (void)setShouldSaveImageForLogging:(BOOL)flag;
34- (BOOL)hasAlternate;
35- (void)setHasAlternate:(BOOL)flag;
36
37- (void)setPath:(NSString *)inPath;
38- (NSString *)path;
39
40- (void)setImage:(NSImage *)inImage;
41- (NSImage *)image;
42
43- (NSImage *)iconImage;
44
45- (BOOL)attachesAnImage;
46
47- (BOOL)shouldAlwaysSendAsText;
48- (void)setShouldAlwaysSendAsText:(BOOL)flag;
49
50@end
Note: See TracBrowser for help on using the browser.