Logo Search packages:      
Sourcecode: ktechlab version File versions  Download package

ExternalLanguage Class Reference

#include <externallanguage.h>

Inheritance diagram for ExternalLanguage:

Language Gpasm Gpdasm Gplib Gplink Microbe PicProgrammer SDCC

List of all members.


Detailed Description

Base class for Language support that relies on an external program; so this class provides functionality for dealing with external processes.

Author:
Daniel Clarke

David Saxton

Definition at line 25 of file externallanguage.h.


Signals

void processFailed (Language *language)
void processSucceeded (Language *language)

Public Member Functions

 ExternalLanguage (ProcessChain *processChain, KTechlab *parent, const QString &name)
virtual
ProcessOptions::ProcessPath::Path 
outputPath (ProcessOptions::ProcessPath::Path inputPath) const =0
virtual void processInput (ProcessOptions options)=0
ProcessOptions processOptions () const

Protected Slots

void processExited (KProcess *)
void receivedStderr (KProcess *, char *buffer, int buflen)
void receivedStdout (KProcess *, char *buffer, int buflen)

Protected Member Functions

void deleteLanguageProcess ()
void displayProcessCommand ()
virtual MessageInfo extractMessageInfo (const QString &text)
void finish (bool successful)
virtual bool isError (const QString &message) const =0
virtual bool isStderrOutputFatal (const QString &message) const
virtual bool isWarning (const QString &message) const =0
void outputError (const QString &error)
void outputMessage (const QString &message)
virtual void outputtedError (const QString &)
virtual void outputtedMessage (const QString &)
virtual void outputtedWarning (const QString &)
void outputWarning (const QString &message)
virtual bool processExited (bool successfully)
void processInitFailed ()
void reset ()
void resetLanguageProcess ()
bool start ()

Protected Attributes

int m_errorCount
QString m_failedMessage
KProcess * m_languageProcess
ProcessOptions m_processOptions
QString m_successfulMessage
KTechlabp_ktechlab
ProcessChainp_processChain

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index