|
| 1 | +/* TShelfIcon.h |
| 2 | + * |
| 3 | + * Copyright (C) 2003-2021 Free Software Foundation, Inc. |
| 4 | + * |
| 5 | + * Authors: Enrico Sersale <[email protected]> |
| 6 | + * Riccardo Mottola <[email protected]> |
| 7 | + * Date: November 2021 |
| 8 | + * |
| 9 | + * This file is part of the GNUstep GWorkspace application |
| 10 | + * |
| 11 | + * This program is free software; you can redistribute it and/or modify |
| 12 | + * it under the terms of the GNU General Public License as published by |
| 13 | + * the Free Software Foundation; either version 2 of the License, or |
| 14 | + * (at your option) any later version. |
| 15 | + * |
| 16 | + * This program is distributed in the hope that it will be useful, |
| 17 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 19 | + * GNU General Public License for more details. |
| 20 | + * |
| 21 | + * You should have received a copy of the GNU General Public License |
| 22 | + * along with this program; if not, write to the Free Software |
| 23 | + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. |
| 24 | + */ |
| 25 | + |
| 26 | +#ifndef TSHELF_FILEICON_H |
| 27 | +#define TSHELF_FILEICON_H |
| 28 | + |
| 29 | +#import "TShelfIcon.h" |
| 30 | + |
| 31 | +@class FSNode; |
| 32 | +@class FSNodeRep; |
| 33 | +@class GWorkspace; |
| 34 | + |
| 35 | +@interface TShelfFileIcon : TShelfIcon |
| 36 | +{ |
| 37 | + NSMutableArray *paths; |
| 38 | + NSString *hostname; |
| 39 | + FSNode *node; |
| 40 | + BOOL singlepath; |
| 41 | + BOOL isRootIcon; |
| 42 | + FSNodeRep *fsnodeRep; |
| 43 | + NSFileManager *fm; |
| 44 | + GWorkspace *gw; |
| 45 | + |
| 46 | + BOOL forceCopy; |
| 47 | +} |
| 48 | + |
| 49 | +- (id)initForPaths:(NSArray *)fpaths |
| 50 | + inIconsView:(TShelfIconsView *)aview; |
| 51 | + |
| 52 | +- (id)initForPaths:(NSArray *)fpaths |
| 53 | + atPosition:(NSPoint)pos |
| 54 | + inIconsView:(TShelfIconsView *)aview; |
| 55 | + |
| 56 | +- (id)initForPaths:(NSArray *)fpaths |
| 57 | + gridIndex:(NSUInteger)index |
| 58 | + inIconsView:(TShelfIconsView *)aview; |
| 59 | + |
| 60 | +- (void)setPaths:(NSArray *)fpaths; |
| 61 | + |
| 62 | +- (NSArray *)paths; |
| 63 | + |
| 64 | +- (BOOL)isSinglePath; |
| 65 | + |
| 66 | +@end |
| 67 | + |
| 68 | +#endif // TSHELF_FILEICON_H |
0 commit comments