示例#1
0
int main(int argc, char *argv[])
{
	FILE *ifile;

	if ((argc != 2) || (argv[0] == NULL))
	{
		printf ("Usage is: SOLODump file\n");
	}
	else
	{
		ifile = fopen (argv[1], "rb");
		if (ifile == NULL) 
		{
			printf ("Error opening file: %s\n", argv[1]);
		}
		else
		{
			printf("Removable Pack Disk: %s\n", argv[1]);
			Catalog(ifile);
			fclose(ifile);
		}
	}
	
	return EXIT_SUCCESS;
}
void SystemManager::EnterSecondLevelTypes(const QString& firstType,const QStringList& typeList)
{
    Catalog()->EnterSecondLevelTypes(firstType,typeList);
}
void SystemManager::EnterProductDescriptionForType(const QString& childType,ProductDescription *pd)
{
    Catalog()->EnterProductDescriptionForType(childType,pd);
}
void SystemManager::EnterFirstLevelTypes(const QStringList& typeList)
{
    Catalog()->EnterFirstLevelTypes(typeList);
}