//
//  GRTListDataSource.h
//  MySQLWorkbench
//
//  Created by Alfredo Kojima on 29/Sep/08.
//  Copyright 2008 Sun Microsystems Inc. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#import "sigobjc++.h"

#include "grt/tree_model.h"


class MySQLTableEditorBE;


@interface GRTNodeId : NSObject {
  bec::NodeId *_nodeId;
}

+ (GRTNodeId*)nodeIdWithNodeId:(const bec::NodeId&)nodeId;
- (id)init;
- (id)initWithNodeId:(const bec::NodeId&)nodeId;
- (const bec::NodeId&)nodeId;

@end


@interface GRTListDataSource : NSObject {
  bec::ListModel *_list; 
}


- (id)initWithListModel:(bec::ListModel*)model;

- (void)setListModel:(bec::ListModel*)model;

- (bec::ListModel*)listModel;

@end


