#ifndef STOCKDLG_HPP #define STOCKDLG_HPP #include #include #include #include // Required SOM definitions #include // The basics #include // IFrameWindow #include // ICommandHandler #include // IEntryField #include // IString #include // IComboBox class ChartFile; // ChFile.xih is included in StockDlg.cpp //********************************************************** // Stock Settings Page Dialog //********************************************************** class StockDlg : public IFrameWindow , public ICommandHandler { public: ~StockDlg(); StockDlg (ChartFile *PChartFile, const IWindowHandle& Hwnd); private: IEntryField stockSymbol, lastMonth, lastDay, lastYear; IComboBox exchange; ChartFile *pChartFile; // WPS object Environment *pSomEnv; // SOM environment // virtual function overrides Boolean command(ICommandEvent& cmdevt); Boolean dispatchHandlerEvent(IEvent& evt); // custom functions void saveState(); void restoreState(); }; #endif