// ConvTemp.h // Origin C header file #ifndef _CONVTEMP_H_ #define _CONVTEMP_H_ #pragma dll(convtemp.dll) class CConvertTemperature { // Convert a Celsius temperature to the Fahrenheit equivalent. double CelsiusToFahrenheit(double dCelsius); // Convert a Fahrenheit temperature to the Celsius equivalent. double FahrenheitToCelsius(double dFahrenheit); // Setting this data member updates the m_dFahrenheit data member. double m_dCelsius; // Setting this data member updates the m_dCelsius data member. double m_dFahrenheit; }; #endif // _CONVTEMP_H_