Code Cleanup - TDB removal

- TDB removed from all code, but source kept for further reference.
This commit is contained in:
Paul Beckingham
2009-06-10 22:54:56 -04:00
parent fc7b344a8b
commit 9776495286
13 changed files with 71 additions and 89 deletions

View File

@@ -3,12 +3,11 @@ PROJECT = t.t t2.t tdb.t date.t duration.t t.benchmark.t text.t autocomplete.t \
cmd.t config.t
CFLAGS = -I. -I.. -Wall -pedantic -ggdb3 -fno-rtti
LFLAGS = -L/usr/local/lib -lncurses
OBJECTS = ../TDB.o ../TDB2.o ../T.o ../Task.o ../parse.o ../text.o ../Date.o \
../Duration.o ../util.o ../Config.o ../Sequence.o ../Att.o \
OBJECTS = ../TDB2.o ../T.o ../Task.o ../parse.o ../text.o ../Date.o ../Table.o \
../Duration.o ../util.o ../Config.o ../Sequence.o ../Att.o ../Cmd.o \
../Record.o ../StringTable.o ../Subst.o ../Nibbler.o ../Location.o \
../Filter.o ../Context.o ../Keymap.o ../Cmd.o ../command.o \
../report.o ../Table.o ../Grid.o ../color.o ../rules.o ../recur.o \
../interactive.o
../Filter.o ../Context.o ../Keymap.o ../command.o ../interactive.o \
../report.o ../Grid.o ../color.o ../rules.o ../recur.o
all: $(PROJECT)

View File

@@ -24,7 +24,6 @@
// USA
//
////////////////////////////////////////////////////////////////////////////////
#include "TDB.h"
#include "T.h"
#include "main.h"
#include "test.h"

View File

@@ -27,7 +27,6 @@
#include <iostream>
#include <unistd.h>
#include "TDB.h"
#include "main.h"
#include "test.h"
@@ -40,6 +39,7 @@ int main (int argc, char** argv)
try
{
/*
// Remove any residual test file.
unlink ("./pending.data");
unlink ("./completed.data");
@@ -113,6 +113,7 @@ int main (int argc, char** argv)
// GC the files.
t.is (tdb.gc (), 1, "1 <- TDB::gc");
*/
}
catch (std::string& error)