Documentation of `SecCertificateGetData()` says that we should malloc space for its...
[adiumx.git] / Other / XtrasCreator / AXCFileCell.h
blobd63cdadc40a1a9050d1bcd689074217e2c342ffa
1 //
2 // AXCFileCell.h
3 // XtrasCreator
4 //
5 // Created by Mac-arena the Bored Zo on 2005-10-30.
6 // Copyright 2005 Adium Team. All rights reserved.
7 //
9 /*the string/object values to an AXCFileCell are paths. they will be drawn as
10 * an icon and filename.
13 enum AXCFileCellIconSourceMask {
14 AXCFileCellIconSourcePreviewByFullPathMask = 0x01,
15 AXCFileCellIconSourcePreviewByFilenameMask = 0x02,
16 AXCFileCellIconSourceLookupByFileIconMask = 0x04,
17 AXCFileCellIconSourceAll = 0xffffFFFF,
20 @interface AXCFileCell : NSCell {
21 union {
22 enum AXCFileCellIconSourceMask iconSourceMask;
23 struct {
24 //note: these variables need to be in the reverse order of the order of the enumeration above.
25 unsigned reserved: 29;
26 unsigned getPreviewsFromFileIcons: 1;
27 unsigned getPreviewsByFilename: 1;
28 unsigned getPreviewsByFullPath: 1;
29 } iconSourceBitfield;
30 } iconSource;
33 - (enum AXCFileCellIconSourceMask)iconSourceMask;
34 - (void)setIconSourceMask:(enum AXCFileCellIconSourceMask)mask;
36 @end