21 #ifndef M_CONTROLLER_H 22 #define M_CONTROLLER_H 102 const QString* aAdditionalInformation = NULL ) = 0 ;
104 virtual void hideUI() = 0 ;
108 virtual void showUI() = 0 ;
141 const QString& aExplanation) = 0 ;
175 const QString& aDisplayName,
176 const bool iUpdatePersistenStorage=
false) = 0 ;
virtual void setProfileInUse(const Hash &aProfileHash)=0
Pure-virtual interface for voice call engine.
Definition: mvoicecallengine.h:33
virtual VoiceCallEngine * voiceCallEngine()=0
Node is a peer in network.
Definition: node.h:40
Logic for handling tasks received from other peers or from user.
Definition: netrequestexecutor.h:40
virtual void offerDisplayNameForProfile(const Hash &aProfileFingerPrint, const QString &aDisplayName, const bool iUpdatePersistenStorage=false)=0
Definition: mcontroller.h:68
virtual void userInterfaceAction(CAUserInterfaceRequest aRequest, const Hash &aHashConcerned=KNullHash, const Hash &aFetchFromNode=KNullHash, const QString *aAdditionalInformation=NULL)=0
virtual QString contentKeyPasswd() const =0
virtual void displayFront()=0
CAUserInterfaceRequest
Definition: mcontroller.h:65
virtual const Hash & profileInUse()=0
Definition: mcontroller.h:57
Definition: mcontroller.h:55
Hash is class that carries 160-bit digest.
Definition: hash.h:38
CAErrorSituation
Definition: mcontroller.h:52
Definition: mcontroller.h:70
virtual void displayAboutBox()=0
Definition: mcontroller.h:67
virtual Node & getNode() const =0
virtual NetworkListener * networkListener() const =0
ProtocolItemType
Definition: protocol.h:150
Carrier-class for binary blob.
Definition: binaryfile.h:37
Definition: mcontroller.h:58
virtual Model & model() const =0
class for listening to incoming network connections.
Definition: networklistener.h:42
Pure-virtual interface class for controller. This is spammed across parties needing access to applica...
Definition: mcontroller.h:43
Definition: mcontroller.h:69
Definition: mcontroller.h:66
virtual void displayFileInfoOnUi(const BinaryFile &aFileMetadata)=0
M of the MVC pattern. Handles permanent storage.
Definition: model.h:48
virtual QString displayableNameForProfile(const Hash &aProfileFingerPrint) const =0
Class that will initiate 1 or more network connections.
Definition: networkconnectorengine.h:45
virtual void storePrivateDataOfSelectedProfile(bool aPublishTrustListToo=false)=0
virtual void handleError(MController::CAErrorSituation aError, const QString &aExplanation)=0
Definition: mcontroller.h:54
Definition: mcontroller.h:56
Work queue item.
Definition: netrequestexecutor.h:60
virtual void reStorePrivateDataOfSelectedProfile()=0
virtual void setContentKeyPasswd(QString aPasswd)=0
virtual MVoiceCallEngine * voiceCallEngineInterface()=0
virtual void startRetrievingContent(NetworkRequestExecutor::NetworkRequestQueueItem aReq, bool aIsBackgroundDl, ProtocolItemType aTypeOfExpectedObject)=0
Network-related logic for handling voice channel between nodes.
Definition: voicecallengine.h:53
Definition: mcontroller.h:53
virtual bool isContactInContactList(const Hash &aFingerPrint) const =0