All pastes #229195 Raw Edit

Mine

public c v1 · immutable
#229195 ·published 2006-10-30 14:45 UTC
rendered paste body
/* Created by Anjuta version 1.2.4a *//*	This file will not be overwritten */#include <stdio.h>#include <beryl-settings.h>static voidusage (const char *programName){  printf (_("Usage: %s "            "[-d] [--no-force-window-manager] [--no-force-decorator] "	    "[--help] [--version]"            "\n"), programName);}/*Will return 0 if the plugin static int isPlugin (const char *pluginName){	}*/int main( int argc, char ** argv ){	printf("Hello world\n");		if (strcmp(argv[1],"--help")==0) {	usage(argv[0]);	return 0;	} else if (strcmp(argv[1],"--version")==0) {			return 0;	} else if (1) { 					BerylSettingsContext * brlSettingCntxt;		beryl_settings_context_new();			BerylSettingsPlugin * thePlugin;		thePlugin = beryl_settings_context_find_plugin(brlSettingCntxt,argv[1]);				if (thePlugin = NULL )		{			printf ( "Pluin Not Found");		}		else {			printf ( "Pluin Found");		}					} else {	usage(argv[0]);	return 1;	}    	return (0);}