Mercurial > mplayer.hg
view Gui/config.c @ 1733:220f86ac8c15
examples and started cleanup of rules by andre.dahlqvist@telia.com
author | eyck |
---|---|
date | Tue, 28 Aug 2001 19:34:32 +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; }