view Plugins/Visualization/paranormal/pn/pninit.c @ 1507:0c5fdcf3f947 trunk

[svn] - incomplete stuff
author nenolod
date Sun, 06 Aug 2006 01:53:29 -0700
parents
children
line wrap: on
line source

/* Paranormal - A highly customizable audio visualization library
 * Copyright (C) 2001  Jamie Gennis <jgennis@mindspring.com>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library 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
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the Free
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#include <config.h>

#include <glib.h>
#include "pninit.h"
#include "pncpu.h"
#include "pnactuatorfactory.h"
#include "pnbuiltins.h"

guint pn_major_version = 1;
guint pn_minor_version = 2;
guint pn_micro_version = 0;

static gboolean pn_ready = FALSE;

void
pn_init (void)
{
  if (pn_ready)
    return;

  g_type_init ();
  pn_cpu_init ();
  pn_actuator_factory_init ();
  pn_builtins_register ();
}