rem: void getversion(const char *filename, version_kind kind, bool bLongFlag, bool bNumericalFlag)
add: int getversion(const char *filename, version_kind kind, bool bLongFlag, bool bNumericalFlag)
context: void getversion(const char *filename, version_kind kind, bool bLongFlag, bool bNumericalFlag){	BFile file(filename, O_RDONLY);	if(file.InitCheck() != B_OK)	{		printf("Couldn't get file info!\n");		return;	}		BAppFileInfo info(&file);	if(info.InitCheck() != B_OK)	{		printf("Couldn't get file info!\n");		return;	}			version_info version;	if(info.GetVersionInfo(&version, kind) != B_OK)	{		printf("Version unknown!\n");		return;	}		if(true == bLongFlag)	{		printf("%s\n", version.long_info);		return;	}		if(true == bNumericalFlag)	{		printf("%lu ", version.major);		printf("%lu ", version.middle);		printf("%lu ", version.minor);		switch(version.variety)		{		case 0: printf("d "); break;		case 1: printf("a "); break;		case 2: printf("b "); break;		case 3: printf("g "); break;		case 4: printf("gm "); break;		case 5: printf("f "); break;			};		printf("%lu\n", version.internal);		return;	}		printf("%s\n", version.short_info);}