/*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) version 3.
*
* 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. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with the program; if not, see
*
*
* Authors:
* Chris Lahey
*
* Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
*
*/
#include
#include
#include "gal-view-etable.h"
#include "gal-view-factory-etable.h"
G_DEFINE_TYPE (
GalViewFactoryEtable,
gal_view_factory_etable,
GAL_TYPE_VIEW_FACTORY)
static void
gal_view_factory_etable_class_init (GalViewFactoryEtableClass *class)
{
GalViewFactoryClass *view_factory_class;
view_factory_class = GAL_VIEW_FACTORY_CLASS (class);
view_factory_class->gal_view_type = GAL_TYPE_VIEW_ETABLE;
}
static void
gal_view_factory_etable_init (GalViewFactoryEtable *factory)
{
}
/**
* gal_view_factory_etable_new:
*
* A new GalViewFactory for creating ETable views. Create one of
* these and pass it to GalViewCollection for use.
*
* Returns: The new GalViewFactoryEtable.
*/
GalViewFactory *
gal_view_factory_etable_new (void)
{
return g_object_new (GAL_TYPE_VIEW_FACTORY_ETABLE, NULL);
}