Code Cleanup

- Merging Record and Task objects, step 5.  Done.
This commit is contained in:
Paul Beckingham 2011-08-07 17:06:06 -04:00
parent 6f980490bd
commit 85e77c1958
6 changed files with 3 additions and 87 deletions

View file

@ -23,7 +23,6 @@ set (task_SRCS A3.cpp A3.h
Nibbler.cpp Nibbler.h
Path.cpp Path.h
Permission.cpp Permission.h
Record.cpp Record.h
RX.cpp RX.h
TDB.cpp TDB.h
TDB2.cpp TDB2.h

View file

@ -1,41 +0,0 @@
////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager.
//
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
//
// This program is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free Software
// Foundation; either version 2 of the License, or (at your option) any later
// version.
//
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License along with
// this program; if not, write to the
//
// Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
//
////////////////////////////////////////////////////////////////////////////////
#define L10N // Localization complete.
#include <iostream>
#include <sstream>
#include <stdlib.h>
#include <util.h>
#include <Nibbler.h>
#include <Context.h>
#include <text.h>
#include <i18n.h>
#include <Record.h>
extern Context context;

View file

@ -1,42 +0,0 @@
////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager.
//
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
//
// This program is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free Software
// Foundation; either version 2 of the License, or (at your option) any later
// version.
//
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License along with
// this program; if not, write to the
//
// Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
//
////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_RECORD
#define INCLUDED_RECORD
#define L10N // Localization complete.
#include <vector>
#include <map>
#include <string>
#include <stdio.h>
#include <Att.h>
class Record : public std::map <std::string, Att>
{
};
#endif
////////////////////////////////////////////////////////////////////////////////

2
test/.gitignore vendored
View file

@ -20,13 +20,13 @@ lisp.t
list.t
nibbler.t
path.t
record.t
rx.t
sensor.t
seq.t
subst.t
t.benchmark.t
t.t
t2.t
taskmod.t
tdb.t
tdb2.t

View file

@ -7,8 +7,8 @@ include_directories (${CMAKE_SOURCE_DIR}
${TASK_INCLUDE_DIRS})
set (test_SRCS att.t autocomplete.t color.t config.t date.t directory.t dom.t
duration.t file.t i18n.t json.t list.t nibbler.t path.t record.t
rx.t t.benchmark.t t.t taskmod.t tdb.t tdb2.t text.t uri.t util.t
duration.t file.t i18n.t json.t list.t nibbler.t path.t rx.t
t.benchmark.t t.t t2.t taskmod.t tdb.t tdb2.t text.t uri.t util.t
view.t json_test)
add_custom_target (test ./run_all DEPENDS ${test_SRCS}