1 /** 2 * Copyright Mikael H�gdahl - triyana@users.sourceforge.net 3 * 4 * This source is distributed under the terms of the Q Public License version 1.0, 5 * created by Trolltech (www.trolltech.com). 6 */ 7 8 #ifndef ClosedDay_h 9 #define ClosedDay_h 10 11 #include "download/BaseDownload.h" 12 #include "Resource.h" 13 14 class Price; 15 16 17 18 /** 19 * Download data from yahoo 20 */ 21 class ClosedDay : public BaseDownload { 22 public: 23 ClosedDay (); 24 ~ClosedDay (); 25 CanHistory()26 bool CanHistory () {return true;} CanLatest()27 bool CanLatest () {return true;} Class()28 const char* Class () {return "ClosedDay";} 29 virtual MHVector* Load (int type, const char* start, const char* stop, Security* sec); Name()30 static const char* Name () {return STRING(CLOSED_TRADING_DAY);} 31 32 private: 33 }; 34 35 #endif 36