topical media & game development

talk show tell print

#mobile-application-10-DerbyApp-build-iphone-Classes-TiFile.h / h



  
Appcelerator Titanium Mobile Copyright (c) 2009-2011 by Appcelerator, Inc. All Rights Reserved. Licensed under the terms of the Apache Public License Please see the LICENSE included with this distribution for details. WARNING: This is generated code. Modify at your own risk and without support.

  
  #import <TiProxy.h>
  
  // main interface for File-based proxies -- this is in the API
  // since Filesystem implements it but we want to be able to have other
  // modules be able to cast to it transparently (such as database)
  // but without causing a compile-time dependency on Filesystem module
  
  @interface TiFile : TiProxy {
  @protected 
          NSString *path;
          BOOL deleteOnExit;
  }
  
  @property(nonatomic,readonly) NSString *path;
  @property(nonatomic,readonly) NSInteger size;
  
  -(id)initWithPath:(NSString*)path;
  -(id)initWithTempFilePath:(NSString*)path;
  
  +(TiFile*)createTempFile:(NSString*)extension;
  
  -(id)blob;
  -(id)toBlob:(id)args;
  
  @end
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.