20 #ifndef M_CONTROLLER_H
21 #define M_CONTROLLER_H
76 bool aIsBackgroundDl) = 0 ;
95 virtual void hideUI() = 0 ;
99 virtual void showUI() = 0 ;
132 const QString& aExplanation) = 0 ;
162 const QString& aDisplayName,
163 const bool iUpdatePersistenStorage=
false) = 0 ;
virtual void setProfileInUse(const Hash &aProfileHash)=0
virtual void userInterfaceAction(CAUserInterfaceRequest aRequest, const Hash &aHashConcerned=KNullHash, const Hash &aFetchFromNode=KNullHash)=0
Node is a peer in network.
Definition: node.h:39
Logic for handling tasks received from other peers or from user.
Definition: netrequestexecutor.h:39
virtual void offerDisplayNameForProfile(const Hash &aProfileFingerPrint, const QString &aDisplayName, const bool iUpdatePersistenStorage=false)=0
Definition: mcontroller.h:64
virtual QString contentKeyPasswd() const =0
virtual void displayFront()=0
CAUserInterfaceRequest
Definition: mcontroller.h:61
virtual const Hash & profileInUse()=0
Definition: mcontroller.h:53
Definition: mcontroller.h:51
Hash is class that carries 160-bit digest.
Definition: hash.h:37
CAErrorSituation
Definition: mcontroller.h:48
virtual void displayAboutBox()=0
Definition: mcontroller.h:63
virtual Node & getNode() const =0
virtual NetworkListener * networkListener() const =0
Definition: mcontroller.h:54
virtual Model & model() const =0
class for listening to incoming network connections.
Definition: networklistener.h:40
Pure-virtual interface class for controller. This is spammed across parties needing access to applica...
Definition: mcontroller.h:39
Definition: mcontroller.h:62
M of the MVC pattern. Handles permanent storage.
Definition: model.h:47
virtual QString displayableNameForProfile(const Hash &aProfileFingerPrint) const =0
Class that will initiate 1 or more network connections.
Definition: networkconnectorengine.h:44
virtual void handleError(MController::CAErrorSituation aError, const QString &aExplanation)=0
virtual void startRetrievingContent(NetworkRequestExecutor::NetworkRequestQueueItem aReq, bool aIsBackgroundDl)=0
Definition: mcontroller.h:50
Definition: mcontroller.h:52
Work queue item.
Definition: netrequestexecutor.h:59
virtual void storePrivateDataOfSelectedProfile()=0
virtual void reStorePrivateDataOfSelectedProfile()=0
virtual void setContentKeyPasswd(QString aPasswd)=0
Definition: mcontroller.h:49
virtual bool isContactInContactList(const Hash &aFingerPrint) const =0