'DSPF' 0 // Dial Setup prefs record resource id.
'DSPF' 1 // Country Codes list resource id.
'DSPF' 2 // Prefixes list resource id.
'DSPF' 3 // Long Distance Carriers list resource id.
'DSPF' 4 // Suffixes list (Credit Card) resource id.
// Dial Setup prefs record 'DSPF' 0
{
short version; // should be 0
Str31 areaCode; // Current Area Code
short numCCodes; // number of Country codes records
short curCCode; // current country code record
void* reserved;
short numPrefixes; // number of Prefix records
short curPrefix; // current Prefix record
short notused;
void* reserved;
short numCarriers; // number of Long Distance Carrier records
short curCarrier; // current Long Distance Carrier record
void* reserved;
short numSuffixes; // number of Suffix (credit card) record
short curSuffix; // current Suffix (credit card) record
void* reserved;
};
// Country codes record 'DSPF' 1
{
Str31 countryName;
Str31 countryCode;
Str31 countryIAC;
};
/*
Example Country Codes List 'DSPF' 1
"Australia", "61", "0011",
"Austria", "43", "00",
"Belgium", "32", "00",
"Canada", "1", "011",
"Denmark", "45", "009",
"Finland", "358", "990",
"France", "33", "19",
"Germany", "49", "00",
"Great Britain", "44", "010",
"Greece", "30", "00",
"Hong Kong", "852", "106",
"Iceland", "354", "90",
"Indonesia", "62", "00",
"Ireland", "353", "16",
"Italy", "39", "00",
"Japan", "81", "001",
"Malaysia", "60", "00",
"Netherlands", "31", "09",
"New Zealand", "64", "00",
"Norway", "47", "095",
"Philippines", "63", "00",
"Singapore", "65", "005",
"Spain", "34", "07",
"Sweden", "46", "009",
"Switzerland", "41", "00",
"United States", "1", "011"
*/
// Other Dialing Setup lists 'DSPF' 2 - 3
{
Str31 name;
Str31 code;
};
/*
Example Prefixes List 'DSPF' 2
"Outside Line - 9", "9,",
"Outside Line - 8", "8,"
*/
/*
Example Long Distance Carriers List 'DSPF' 3
"Dial 1", "1",
"AT&T (USA)", "10288 0",
"MCI (USA)", "10222 0",
"Sprint (USA)", "10333 0"
*/
/*
Example Suffixes (Credit Card) List 'DSPF' 4
"My Credit Card", "**** **** **** **** ****",
"My Calling Card", "**** **** **** **** ****"
*/
|