File: programming/cocoa/Filie.zip/Filie/Filie/UKFSItem.h


/* =============================================================================
    PROJECT:    Filie
    FILE:       UKFSItem.h
    
    COPYRIGHT:  (c) 2004 by M. Uli Kusterer, all rights reserved.
    
    AUTHORS:    M. Uli Kusterer - UK
    
    LICENSES:   GNU GPL
    
    REVISIONS:
        2004-04-16  UK  Created.
   ========================================================================== */
 
// -----------------------------------------------------------------------------
//  Headers:
// -----------------------------------------------------------------------------
 
#import <Foundation/Foundation.h>
 
 
// -----------------------------------------------------------------------------
//  Forwards:
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
//  Protocols:
// -----------------------------------------------------------------------------
 
// Protocol our owning controller has to respond to:
// Protocol the various kinds of items must implement:
// -----------------------------------------------------------------------------
//  Classes:
// -----------------------------------------------------------------------------
 
// File system item class:
// Path to the item we're associated with.
// Name to display for this item.
// Icon to display for this item.
// Is this a directory or a file? (may be possible to get rid of this and always check attributes dictionary?)
	NSSize              iconSize;		// Size to scale icon to. (changed by the controller as needed -- maybe we want to always query owner?)
// Controller we are owned by. Not retained, as it retains us and we don't want circles.
// File attributes dictionary.
// Position of this item in its distributed view.
// Information window for this object (NIL if none open).
// Private:
 

This code uses the PclZip Zip File reading code, which is subject to the GNU LGPL. It also uses the GeSHi syntax highlighter, subject to the GPL. Ask if you want this for your own web site, it's free.