21 #ifndef M_CONTROLLER_H 22 #define M_CONTROLLER_H 28 #define CLASSIFIED_ADS_VERSION "0.11" 117 const QString* aAdditionalInformation = NULL ) = 0 ;
119 virtual void hideUI() = 0 ;
123 virtual void showUI() = 0 ;
156 const QString& aExplanation) = 0 ;
190 const QString& aDisplayName,
191 const bool iUpdatePersistenStorage=
false) = 0 ;
242 bool aIsSaveFile =
false ,
243 QString aSuggestedFileName = QString()) = 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:74
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:71
virtual TclWrapper & tclWrapper()=0
virtual const Hash & profileInUse()=0
Definition: mcontroller.h:62
Definition: mcontroller.h:60
Hash is class that carries 160-bit digest.
Definition: hash.h:38
CAErrorSituation
Definition: mcontroller.h:57
Definition: mcontroller.h:76
virtual void displayAboutBox()=0
Definition: mcontroller.h:73
virtual Node & getNode() const =0
virtual NetworkListener * networkListener() const =0
ProtocolItemType
Definition: protocol.h:157
Carrier-class for binary blob.
Definition: binaryfile.h:37
Definition: mcontroller.h:63
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:48
Definition: mcontroller.h:75
Definition: mcontroller.h:72
virtual void displayFileInfoOnUi(const BinaryFile &aFileMetadata)=0
M of the MVC pattern. Handles permanent storage.
Definition: model.h:50
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:64
Definition: mcontroller.h:59
virtual QString getFileName(bool &aSuccess, bool aIsSaveFile=false, QString aSuggestedFileName=QString())=0
Definition: mcontroller.h:61
Work queue item.
Definition: netrequestexecutor.h:60
Class providing TCL interpreter services.
Definition: tclWrapper.h:652
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:54
virtual QWidget * frontWidget()=0
Definition: cadbrecord.h:40
Definition: mcontroller.h:58
virtual bool isContactInContactList(const Hash &aFingerPrint) const =0