end of initial experimentation
This commit is contained in:
parent
824e341c9a
commit
605b71b3ea
@ -28,13 +28,9 @@ kio_recoll.so : kio_recoll.o piclib/librcl.a
|
|||||||
-Wl,--no-undefined \
|
-Wl,--no-undefined \
|
||||||
kio_recoll.o piclib/librcl.a \
|
kio_recoll.o piclib/librcl.a \
|
||||||
$(LIBXAPIAN) $(LIBICONV) \
|
$(LIBXAPIAN) $(LIBICONV) \
|
||||||
-L/usr/local/lib -L/usr/X11R6/lib -lkio -lkdeui -lkdesu \
|
-L/usr/local/lib -L/usr/X11R6/lib -lkio -lkdecore \
|
||||||
-lkdecore \
|
|
||||||
-lDCOP \
|
|
||||||
-lqt-mt \
|
-lqt-mt \
|
||||||
-lpng -lXext -lX11 -lSM -lICE -lXrender \
|
-L/usr/lib -lstdc++ -lm -lc \
|
||||||
-lz -lfam -lsasl2 -ljpeg -L/usr/lib -lstdc++ -lm \
|
|
||||||
-lstdc++ -lc \
|
|
||||||
-o kio_recoll.so
|
-o kio_recoll.so
|
||||||
|
|
||||||
kio_recoll.o : kio_recoll.cpp kio_recoll.h
|
kio_recoll.o : kio_recoll.cpp kio_recoll.h
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char rcsid[] = "@(#$Id: kio_recoll.cpp,v 1.2 2006-01-19 12:01:42 dockes Exp $ (C) 2005 J.F.Dockes";
|
static char rcsid[] = "@(#$Id: kio_recoll.cpp,v 1.3 2006-01-19 14:57:59 dockes Exp $ (C) 2005 J.F.Dockes";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -13,10 +13,7 @@ using namespace std;
|
|||||||
|
|
||||||
#include <qfile.h>
|
#include <qfile.h>
|
||||||
|
|
||||||
#include <kglobal.h>
|
|
||||||
#include <kurl.h>
|
|
||||||
#include <kinstance.h>
|
#include <kinstance.h>
|
||||||
#include <kio/global.h>
|
|
||||||
|
|
||||||
#include "rclconfig.h"
|
#include "rclconfig.h"
|
||||||
#include "rcldb.h"
|
#include "rcldb.h"
|
||||||
@ -184,13 +181,6 @@ void RecollProtocol::get(const KURL & url)
|
|||||||
finished();
|
finished();
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecollProtocol::mimetype(const KURL & /*url*/)
|
|
||||||
{
|
|
||||||
fprintf(stderr, "RecollProtocol::mimetype\n");
|
|
||||||
mimeType("text/html");
|
|
||||||
finished();
|
|
||||||
}
|
|
||||||
|
|
||||||
void RecollProtocol::outputError(const QString& errmsg)
|
void RecollProtocol::outputError(const QString& errmsg)
|
||||||
{
|
{
|
||||||
QByteArray array;
|
QByteArray array;
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
#ifndef _RECOLL_H
|
#ifndef _RECOLL_H
|
||||||
|
/* @(#$Id: kio_recoll.h,v 1.3 2006-01-19 14:57:59 dockes Exp $ (C) 2005 J.F.Dockes */
|
||||||
#define _RECOLL_H
|
#define _RECOLL_H
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
@ -6,16 +7,12 @@
|
|||||||
#include <kio/global.h>
|
#include <kio/global.h>
|
||||||
#include <kio/slavebase.h>
|
#include <kio/slavebase.h>
|
||||||
|
|
||||||
class RecollProtocol : public KIO::SlaveBase
|
class RecollProtocol : public KIO::SlaveBase {
|
||||||
{
|
public:
|
||||||
public:
|
|
||||||
RecollProtocol( const QCString &pool, const QCString &app );
|
RecollProtocol( const QCString &pool, const QCString &app );
|
||||||
virtual ~RecollProtocol();
|
virtual ~RecollProtocol();
|
||||||
virtual void mimetype(const KURL& url);
|
|
||||||
virtual void get( const KURL & url );
|
virtual void get( const KURL & url );
|
||||||
|
|
||||||
// virtual void listDir( const KURL & url );
|
|
||||||
// virtual void stat( const KURL & url );
|
|
||||||
private:
|
private:
|
||||||
bool m_initok;
|
bool m_initok;
|
||||||
RclConfig *m_rclconfig;
|
RclConfig *m_rclconfig;
|
||||||
@ -26,4 +23,5 @@ public:
|
|||||||
bool maybeOpenDb(string &reason);
|
bool maybeOpenDb(string &reason);
|
||||||
void outputError(const QString& errmsg);
|
void outputError(const QString& errmsg);
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
#endif // _RECOLL_H
|
||||||
|
|||||||
35
src/kde/kioslave/recoll/kio_recoll.la
Executable file
35
src/kde/kioslave/recoll/kio_recoll.la
Executable file
@ -0,0 +1,35 @@
|
|||||||
|
# kio_recoll.la - a libtool library file
|
||||||
|
# Generated by ltmain.sh - GNU libtool 1.5a (1.1240 2003/06/26 06:55:19)
|
||||||
|
#
|
||||||
|
# Please DO NOT delete this file!
|
||||||
|
# It is necessary for linking the library.
|
||||||
|
|
||||||
|
# The name that we can dlopen(3).
|
||||||
|
dlname='kio_recoll.so'
|
||||||
|
|
||||||
|
# Names of this library.
|
||||||
|
library_names='kio_recoll.so kio_recoll.so kio_recoll.so'
|
||||||
|
|
||||||
|
# The name of the static archive.
|
||||||
|
old_library=''
|
||||||
|
|
||||||
|
# Libraries that this one depends upon.
|
||||||
|
dependency_libs=' -R/usr/local/lib -R/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/lib /usr/local/lib/libkio.la /usr/local/lib/libkdeui.la /usr/local/lib/libkdesu.la /usr/local/lib/libkwalletclient.la /usr/local/lib/libkdecore.la /usr/local/lib/libDCOP.la -lutil -lart_lgpl_2 -lidn /usr/local/lib/libkdefx.la -lqt-mt -lpng -lXext -lX11 -lSM -lICE -lXrender -lz /usr/local/lib/libfam.la -ljpeg'
|
||||||
|
|
||||||
|
# Version information for kio_recoll.
|
||||||
|
current=0
|
||||||
|
age=0
|
||||||
|
revision=0
|
||||||
|
|
||||||
|
# Is this an already installed library?
|
||||||
|
installed=yes
|
||||||
|
|
||||||
|
# Should we warn recoll portability when linking against -modules?
|
||||||
|
shouldnotlink=yes
|
||||||
|
|
||||||
|
# Files to dlopen/dlpreopen
|
||||||
|
dlopen=''
|
||||||
|
dlpreopen=''
|
||||||
|
|
||||||
|
# Directory that this library needs to be installed in:
|
||||||
|
libdir='/usr/local/lib/kde3'
|
||||||
Loading…
x
Reference in New Issue
Block a user