/* tTimeline */

#import <Cocoa/Cocoa.h>
//#import "tPlaylist.h"
//#import "tPlayback.h"
//#import "tImageBuffer.h"
//#import "MHMovie.h"
//#import "MHUtil.h"

@interface tTimeline : NSObject
{
/*
    IBOutlet id chapters, colSelect, controller, fakeMovieView, fakeWindow, intervalField, keyframes, mainTable, movieWindow, optKB, optFPS, optTime, player, progBar, renderingSheet, imageView, tlTable, tlText, tlScroll, tlWindow;
    IBOutlet NSMovieView *movieView;
    
    double theInterval;
    tImageBuffer *thePictures;
    Rect oldRect;
    BOOL isOpen;
    TimeScale theScale;
    TimeValue theDuration;
    NSMutableArray *displayBuffer, *theCells;
    NSLock *arrayLock, *functionLock;
    //NSSize thumbSize;
    MHMovie *currentMovie;
    GWorldPtr gSrcGWorld;
    Movie gMovie;
    int lastClickedRow, lastClickedColumn, movieWidth;
    */
}

- (id)vendedObject;
- (void)image:(NSData *)image forTimeValue:(TimeValue)tv;
/*
- (int)numberOfRowsInTableView:(NSTableView *)aTableView;
- (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex;
- (void)tableView:(NSTableView *)aTableView willDisplayCell:(id)aCell forTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex;
- (BOOL) tableView: (NSTableView *) tableView shouldEditTableColumn: (NSTableColumn *) tableColumn row: (int) rowIndex;
- (BOOL) tableView: (NSTableView *) tableView shouldSelectRow: (int) rowIndex;

- (void)getImages;
- (IBAction)cancelRendering:(id)sender;
- (TimeValue)timeValueForIndex:(int)index;

- (IBAction)doSingleClick:(id)sender;
- (IBAction)doDoubleClick:(id)sender;
- (IBAction)newChapter:(id)sender;
- (IBAction)currentChapter:(id)sender;

- (IBAction)open:(id)sender;
-(BOOL)windowShouldClose:(id)sender;

- (void)awakeFromNib;

- (IBAction)interval:(id)sender;
- (IBAction)columns:(id)sender;

- (void)movieDidChangeTo:(MHMovie *)path;

- (void)initMovie;

- (void)clear;

-(NSImage *)gworldToNSImage:(GWorldPtr) gWorldPtr;
*/
@end
