/**********************************************************************
 
	Copyright (C) 2003-2004
	Hirohisa MORI <joshua@nichibun.ac.jp>
	Tomoki SEKIYAMA <sekiyama@yahoo.co.jp>
 
	This program is free software; you can redistribute it 
	and/or modify it under the terms of the GLOBALBASE 
	Library General Public License (G-LGPL) as published by 

	http://www.globalbase.org/
 
	This program is distributed in the hope that it will be 
	useful, but WITHOUT ANY WARRANTY; without even the 
	implied warranty of MERCHANTABILITY or FITNESS FOR A 
	PARTICULAR PURPOSE.

**********************************************************************/



#ifndef ___V_TREE_VIEW_M_H___
#define ___V_TREE_VIEW_M_H___

#include <CDataBrowser.h>

extern "C"  {

const UInt32	v_base_col_id = 1 << 12;

class VTreeViewImp {
	static OSStatus	ItemDataCallback(
						CDataBrowser *			browser,
						DataBrowserItemID		item,
						DataBrowserPropertyID	property,
						DataBrowserItemDataRef	itemData,
						Boolean					setValue);
	
	static void		ItemNotifCallback(
						CDataBrowser *				pane,
						DataBrowserItemID			item,
						DataBrowserItemNotification message);
	
	static V_CALLBACK_D(ItemSelected);
	
	friend class VTreeView;
};

} // extern "C"

#endif
