topical media & game development

talk show tell print

#mobile-application-10-DerbyApp-build-iphone-Classes-KrollTimer.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 <Foundation/Foundation.h>
  #import <TiCore.h>
  #import <KrollContext.h>
  
  //
  // KrollTimer is a timer implementation in native that is used by JS land
  //
  @interface KrollTimer : NSObject {
  @private
          TiContextRef context;
          TiObjectRef function;
          TiObjectRef jsThis;
          double duration;
          BOOL onetime;
          BOOL stopped;
          NSCondition *condition;
          KrollContext *kroll;
          double timerId;
  }
  
  -(id)initWithContext:(TiContextRef)context function:(TiValueRef)function_ jsThis:(TiObjectRef)jsThis duration:(double)duration_ onetime:(BOOL)onetime_ kroll:(KrollContext*)kroll_ timerId:(double)timerId;
  -(void)start;
  -(void)cancel;
  
  @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.