view Gui/config.c @ 1740:46b49783b708

Rearranged C++ check.
author atmos4
date Wed, 29 Aug 2001 12:15:09 +0000
parents d237c5d4b216
children
line wrap: on
line source


#include <stdlib.h>
#include <stdio.h>

unsigned char * cfgAppName = "movieplayer";
unsigned char * cfgSkin = NULL;

void cfgDefaults( void )
{
 if ( ( cfgSkin=(char *)calloc( 1,256 ) ) == NULL )
  {
   fprintf( stderr,"[config] Not enough memory.\n" );
   exit( 1 );
  }
 strcpy( cfgSkin,"default" );
// strcpy( cfgSkin,"blueHeart" );
}

int cfgRead( void )
{
 return 0;
}