26 #include "../mcontroller.h" 691 const QString& aExplanation) ;
709 QString* aMainWindowTitle = NULL ) ;
720 bool initTk(Tcl_Interp* aInterp) ;
754 static int listItemsCmd(ClientData aCData, Tcl_Interp *aInterp,
int aObjc, Tcl_Obj *
const aObjv[]) ;
762 static int getProfileCmd(ClientData aCData, Tcl_Interp *aInterp,
int aObjc, Tcl_Obj *
const aObjv[]) ;
771 static int getClassifiedAdCmd(ClientData aCData, Tcl_Interp *aInterp,
int aObjc, Tcl_Obj *
const aObjv[]) ;
780 static int getProfileCommentCmd(ClientData aCData, Tcl_Interp *aInterp,
int aObjc, Tcl_Obj *
const aObjv[]) ;
789 static int getBinaryFileCmd(ClientData aCData, Tcl_Interp *aInterp,
int aObjc, Tcl_Obj *
const aObjv[]) ;
806 static int getDbRecordCmd(ClientData aCData, Tcl_Interp *aInterp,
int aObjc, Tcl_Obj *
const aObjv[]) ;
822 static int publishItemCmd(ClientData aCData, Tcl_Interp *aInterp,
int aObjc, Tcl_Obj *
const aObjv[]) ;
826 static int sha1Cmd(ClientData aCData, Tcl_Interp *aInterp,
int aObjc, Tcl_Obj *
const aObjv[]) ;
840 static int saveFileCmd(ClientData aCData, Tcl_Interp *aInterp,
int aObjc, Tcl_Obj *
const aObjv[]) ;
846 static int openFileCmd(ClientData aCData, Tcl_Interp *aInterp,
int aObjc, Tcl_Obj *
const aObjv[]) ;
850 static int isProfileTrustedCmd(ClientData aCData, Tcl_Interp *aInterp,
int aObjc, Tcl_Obj *
const aObjv[]) ;
855 ClientData aInstanceData,
856 Tcl_Interp *aInterp);
861 ClientData aInstanceData,
870 ClientData aInstanceData,
876 ClientData instanceData,
879 ClientData aInstanceData,
881 ClientData *aHandlePtr);
887 ClientData aInstanceData,
class for displaying tcl interpreter output
Definition: tclConsole.h:32
static int publishItemCmd(ClientData aCData, Tcl_Interp *aInterp, int aObjc, Tcl_Obj *const aObjv[])
bool iNeedsToRun
Definition: tclWrapper.h:906
static int getClassifiedAdCmd(ClientData aCData, Tcl_Interp *aInterp, int aObjc, Tcl_Obj *const aObjv[])
static int getProfileCommentCmd(ClientData aCData, Tcl_Interp *aInterp, int aObjc, Tcl_Obj *const aObjv[])
static int retrieveTCLProgLocalDataCmd(ClientData aCData, Tcl_Interp *aInterp, int aObjc, Tcl_Obj *const aObjv[])
void stopScript(bool aDeleteLater=false)
void evalScript(QString aScript, QString *aMainWindowTitle=NULL)
QString iMainWindowTitle
Definition: tclWrapper.h:911
static int outputProc(ClientData aInstanceData, const char *aBuf, int aToWrite, int *aErrorCodePtr)
static int getHandleProc(ClientData aInstanceData, int aDirection, ClientData *aHandlePtr)
QQueue< QPair< Hash, ProtocolItemType > > iAddedDataModelItems
Definition: tclWrapper.h:912
Hash is class that carries 160-bit digest.
Definition: hash.h:38
CAErrorSituation
Definition: mcontroller.h:57
static int getBinaryFileCmd(ClientData aCData, Tcl_Interp *aInterp, int aObjc, Tcl_Obj *const aObjv[])
static void watchProc(ClientData instanceData, int mask)
ProtocolItemType
Definition: protocol.h:157
Class implementing TCL interpreter callbacks.
Definition: tclCallbacks.h:38
static int storeTCLProgLocalDataCmd(ClientData aCData, Tcl_Interp *aInterp, int aObjc, Tcl_Obj *const aObjv[])
Tcl_Interp * initInterpreter()
static int sha1Cmd(ClientData aCData, Tcl_Interp *aInterp, int aObjc, Tcl_Obj *const aObjv[])
TclConsoleDialog * iConsole
Definition: tclWrapper.h:909
static int inputProc(ClientData aInstanceData, char *aBuf, int aBufSize, int *aErrorCodePtr)
TclWrapper(Model &aModel, MController &aController)
Model & iModel
Definition: tclWrapper.h:902
Pure-virtual interface class for controller. This is spammed across parties needing access to applica...
Definition: mcontroller.h:48
static int saveFileCmd(ClientData aCData, Tcl_Interp *aInterp, int aObjc, Tcl_Obj *const aObjv[])
QString iTCLScript
Definition: tclWrapper.h:905
bool initProgram(Tcl_Interp *aInterp)
M of the MVC pattern. Handles permanent storage.
Definition: model.h:50
static int openFileCmd(ClientData aCData, Tcl_Interp *aInterp, int aObjc, Tcl_Obj *const aObjv[])
bool initExtensions(Tcl_Interp *aInterp)
static int closeProc(ClientData aInstanceData, Tcl_Interp *aInterp)
void setScript(const QString &aScript)
Tcl_Interp * iInterp
Definition: tclWrapper.h:904
void error(MController::CAErrorSituation aError, const QString &aExplanation)
bool initTk(Tcl_Interp *aInterp)
int outputProcImpl(ClientData aInstanceData, const char *aBuf, int aToWrite, int *aErrorCodePtr)
QByteArray iStdOutBuffer
Definition: tclWrapper.h:907
void notifyInterpreterOfContentReceived(Tcl_Interp *aInterp)
void consoleOutput(QString aOutput)
Class providing TCL interpreter services.
Definition: tclWrapper.h:652
static int isProfileTrustedCmd(ClientData aCData, Tcl_Interp *aInterp, int aObjc, Tcl_Obj *const aObjv[])
const QString & currentProgram() const
Definition: tclWrapper.h:673
bool iDeleteLater
Definition: tclWrapper.h:908
void notifyOfContentReceived(const Hash &aHashOfContent, const ProtocolItemType aTypeOfReceivedContent)
static int getDbRecordCmd(ClientData aCData, Tcl_Interp *aInterp, int aObjc, Tcl_Obj *const aObjv[])
static int listItemsCmd(ClientData aCData, Tcl_Interp *aInterp, int aObjc, Tcl_Obj *const aObjv[])
QQueue< QString > iScriptQueue
Definition: tclWrapper.h:910
MController & iController
Definition: tclWrapper.h:903
TclCallbacks * iTclCallbacks
Definition: tclWrapper.h:913
static int getProfileCmd(ClientData aCData, Tcl_Interp *aInterp, int aObjc, Tcl_Obj *const aObjv[])