MhpCarouselLoader::MhpCarouselLoader(ApplicationInfo::cApplication::Ptr a) : app(a), receiver(0), carousel(0), filterDevice(0), state(LoadingStateWaiting), hibernatedTime(0), totalSize(0), foreground(false) { protocol=app->GetTransportProtocol()->GetProtocol(); }
class MhpCarouselLoader { public: MhpCarouselLoader(ApplicationInfo::cApplication *a); ~MhpCarouselLoader(); LoadingState getState(); float getProgress(int &currentSize, int &totalSize); void Start(); void Stop(); void Hibernate(); void WakeUp(); SmartPtr<Cache::Cache> getCache(); ApplicationInfo::cApplication::ApplicationName *getName();  time_t getHibernationTime() { return hibernatedTime; } protected: void StartObjectCarousel(Dsmcc::ObjectCarousel *hibernated = 0); void StartLocalApp(); ApplicationInfo::cApplication *app; cDsmccReceiver *receiver; Dsmcc::ObjectCarousel *carousel; LoadingState state; ApplicationInfo::cTransportProtocol::Protocol protocol; time_t hibernatedTime; int totalSize; };
MhpCarouselLoader::MhpCarouselLoader(ApplicationInfo::cApplication::Ptr a)   : app(a), receiver(0), carousel(0), filterDevice(0), state(LoadingStateWaiting), hibernatedTime(0), totalSize(0), foreground(false){   protocol=app->GetTransportProtocol()->GetProtocol();}