get_folders and get_folders_async now virtual



Made TnyCamelFolder and TnyAccountStore's get_folders and
get_folders_async methods virtual ones that can be overridden in the
class_init of your implementation.


static void 
tny_specific_folder_class_init (TnySpecificFolderClass *class)
{
	GObjectClass *object_class;

	parent_class = g_type_class_peek_parent (class);
	object_class = (GObjectClass*) class;
	object_class->finalize = tny_specific_folder_finalize;

	((TnyCamelFolderClass*)class)->get_folders_async_func = 
		tny_specific_folder_get_folders_async;

	((TnyCamelFolderClass*)class)->get_folders_func = 
		tny_specific_folder_get_folders;

	return;
}

-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]