gui connected to rcldb (init)
This commit is contained in:
+9
-11
@@ -1,24 +1,22 @@
|
||||
|
||||
BIGLIB = ../lib/librcl.a
|
||||
CXXFLAGS = -Wall -g -I. -I../unac -I../utils -I/usr/local/include
|
||||
CFLAGS = -g -I. -I../unac -I/usr/local/include -DUNAC_VERSION=\"1.0.7\"
|
||||
|
||||
|
||||
PROGS = unacpp
|
||||
PROGS = unacpp textsplit
|
||||
all: $(PROGS)
|
||||
|
||||
UNACPP_OBJS= trunacpp.o unacpp.o unac.o readfile.o
|
||||
UNACPP_OBJS= trunacpp.o $(BIGLIB)
|
||||
unacpp : $(UNACPP_OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o unacpp $(UNACPP_OBJS) \
|
||||
-L/usr/local/lib -liconv
|
||||
|
||||
unac.o : ../unac/unac.c ../unac/unac.h
|
||||
$(CC) $(CFLAGS) -c -o unac.o ../unac/unac.c
|
||||
|
||||
readfile.o : ../utils/readfile.cpp ../utils/readfile.h
|
||||
$(CXX) $(CXXFLAGS) -c -o readfile.o ../utils/readfile.cpp
|
||||
|
||||
trunacpp.o : unacpp.cpp unacpp.h
|
||||
$(CXX) $(CXXFLAGS) -DTEST_UNACPP -c -o trunacpp.o unacpp.cpp
|
||||
|
||||
TEXTSPLIT_OBJS= trtextsplit.o $(BIGLIB)
|
||||
textsplit : $(TEXTSPLIT_OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o textsplit $(TEXTSPLIT_OBJS)
|
||||
trtextsplit.o : textsplit.cpp
|
||||
$(CXX) $(CXXFLAGS) -DTEST_TEXTSPLIT -c -o trtextsplit.o \
|
||||
textsplit.cpp
|
||||
clean:
|
||||
rm -f *.o $(PROGS)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef lint
|
||||
static char rcsid[] = "@(#$Id: rclconfig.cpp,v 1.3 2005-01-24 13:17:58 dockes Exp $ (C) 2004 J.F.Dockes";
|
||||
static char rcsid[] = "@(#$Id: rclconfig.cpp,v 1.4 2005-01-25 14:37:20 dockes Exp $ (C) 2004 J.F.Dockes";
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
@@ -7,6 +7,18 @@ static char rcsid[] = "@(#$Id: rclconfig.cpp,v 1.3 2005-01-24 13:17:58 dockes Ex
|
||||
#include "rclconfig.h"
|
||||
#include "pathut.h"
|
||||
#include "conftree.h"
|
||||
#include "debuglog.h"
|
||||
|
||||
static DebugLog debuglog;
|
||||
DebugLog *dbl = &debuglog;
|
||||
class loginitializer {
|
||||
public:
|
||||
loginitializer() {
|
||||
dbl->setlogfilename("stderr");
|
||||
dbl->setloglevel(10);
|
||||
}
|
||||
};
|
||||
static loginitializer lgntlzr;
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -54,6 +66,7 @@ RclConfig::RclConfig()
|
||||
cerr << "No mime conf file" << endl;
|
||||
return;
|
||||
}
|
||||
setKeyDir(string(""));
|
||||
// mimeconf->list();
|
||||
m_ok = true;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user