From kde-commits Wed Feb 04 23:00:30 2004 From: Ravikiran Rajagopal Date: Wed, 04 Feb 2004 23:00:30 +0000 To: kde-commits Subject: kdenonbeta/frontman/interfaces Message-Id: <20040204230030.1E0F19911 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=107593570016520 CVS commit by ravi: Specification of language support. Generally the same as in the old langbase kernel, but it is now split into parser (syntax & output highlighting) and nonparser parts. Everything lives in the FM namespace now. A fmedithighlighter.cpp 1.1 [GPL] A fmedithighlighter.h 1.1 [GPL] A fmlanguageiface.cpp 1.1 [GPL] A fmlanguageiface.h 1.1 [GPL] A fmsimplehighlighter.cpp 1.1 [GPL] A fmsimplehighlighter.h 1.1 [GPL] A fmsimplelanguage.cpp 1.1 [GPL] A fmsimplelanguage.h 1.1 [GPL] A fmsyntaxhighlighteriface.h 1.1 [GPL] M +8 -3 Makefile.am 1.2 M +7 -5 fmprocessiface.h 1.2 --- kdenonbeta/frontman/interfaces/fmprocessiface.h #1.1:1.2 @@ -39,9 +39,11 @@ namespace FM bool stop( int sig ) { return doStop(sig); } signals: - void outputLines( ProcessIface *proc, QString text ); - void errorLines( ProcessIface *proc, QString text ); - void statusChanged( ProcessIface *proc, QString newStatus ); - void processExited( ProcessIface *proc, int exitStatus ); - void priorityChanged( ProcessIface *proc, int newPriority ); + void outputLines( FM::ProcessIface *proc, const QString &text ); + void partialLine( FM::ProcessIface *proc, const QString &text ); + void errorLines( FM::ProcessIface *proc, const QString &text ); + void statusChanged( FM::ProcessIface *proc, const QString &newStatus ); + void processExited( FM::ProcessIface *proc, int exitStatus ); + void priorityChanged( FM::ProcessIface *proc, int newPriority ); + void oneInputLineWritten( FM::ProcessIface *proc ); public slots: void sendInput( const QString &text ) { doSendInput( text ); } --- kdenonbeta/frontman/interfaces/Makefile.am #1.1:1.2 @@ -3,13 +3,18 @@ kde_module_LTLIBRARIES = libfminterfaces.la libfminterfaces_la_SOURCES=fmsessionorganizeriface.cpp fmsessioninfoiface.skel \ - fmprocessiface.cpp + fmprocessiface.cpp fmlanguageiface.cpp \ + fmedithighlighter.cpp fmsimplehighlighter.cpp \ + fmsimplelanguage.cpp fminterfacesinclude_HEADERS=fmsessionorganizeriface.h \ fmsessioninfoiface.h \ fmprocessiface.h \ fmifacebase.h fmpart.h fmplugin.h \ - fmidmaker.h fmsingleton.h + fmidmaker.h fmsingleton.h \ + fmlanguageiface.h fmsyntaxhighlighteriface.h \ + fmedithighlighter.h fmsimplehighlighter.h \ + fmsimplelanguage.h fminterfacesincludedir=$(includedir)/frontman libfminterfaces_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -Wno-undefined -libfminterfaces_la_LIBADD = $(LIB_KPARTS) +libfminterfaces_la_LIBADD = $(LIB_KPARTS) -lfl INCLUDES = -I$(srcdir) $(all_includes)