Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/builder/config_builder.cxx

Go to the documentation of this file.
00001 // Filename: config_builder.cxx
00002 // Created by:  drose (29Feb00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #include "config_builder.h"
00020 #include <dconfig.h>
00021 
00022 Configure(config_builder);
00023 NotifyCategoryDef(builder, "");
00024 
00025 ConfigureFn(config_builder) {
00026   init_libbuilder();
00027 }
00028 
00029 ////////////////////////////////////////////////////////////////////
00030 //     Function: init_libbuilder
00031 //  Description: Initializes the library.  This must be called at
00032 //               least once before any of the functions or classes in
00033 //               this library can be used.  Normally it will be
00034 //               called by the static initializers and need not be
00035 //               called explicitly, but special cases exist.
00036 ////////////////////////////////////////////////////////////////////
00037 void
00038 init_libbuilder() {
00039   static bool initialized = false;
00040   if (initialized) {
00041     return;
00042   }
00043   initialized = true;
00044 }

Generated on Fri May 2 00:34:48 2003 for Panda by doxygen1.3