diff --git a/src/Makefile.am b/src/Makefile.am index 94c67049f..c8726592a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,13 +5,13 @@ task_SOURCES = API.cpp Att.cpp Cmd.cpp Color.cpp Config.cpp Context.cpp \ Grid.cpp Hooks.cpp Keymap.cpp Location.cpp Nibbler.cpp \ Path.cpp Permission.cpp Record.cpp Sequence.cpp \ StringTable.cpp Subst.cpp TDB.cpp Table.cpp Task.cpp \ - Taskmod.cpp Timer.cpp command.cpp custom.cpp edit.cpp \ - export.cpp import.cpp interactive.cpp main.cpp recur.cpp \ - report.cpp rules.cpp rx.cpp text.cpp util.cpp API.h Att.h \ - Cmd.h Color.h Config.h Context.h Date.h Directory.h Duration.h \ - File.h Filter.h Grid.h Hooks.h Keymap.h Location.h Nibbler.h \ - Path.h Permission.h Record.h Sequence.h StringTable.h Subst.h \ - TDB.h Table.h Task.h Taskmod.h Timer.h i18n.h main.h text.h \ - util.h rx.h + Taskmod.cpp Timer.cpp command.cpp custom.cpp dependency.cpp \ + edit.cpp export.cpp import.cpp interactive.cpp main.cpp \ + recur.cpp report.cpp rules.cpp rx.cpp text.cpp util.cpp \ + API.h Att.h Cmd.h Color.h Config.h Context.h Date.h \ + Directory.h Duration.h File.h Filter.h Grid.h Hooks.h Keymap.h \ + Location.h Nibbler.h Path.h Permission.h Record.h Sequence.h \ + StringTable.h Subst.h TDB.h Table.h Task.h Taskmod.h Timer.h \ + i18n.h main.h text.h util.h rx.h task_CPPFLAGS=$(LUA_CFLAGS) task_LDFLAGS=$(LUA_LFLAGS) diff --git a/src/dependency.cpp b/src/dependency.cpp new file mode 100644 index 000000000..b19ea7a9d --- /dev/null +++ b/src/dependency.cpp @@ -0,0 +1,42 @@ +//////////////////////////////////////////////////////////////////////////////// +// task - a command line task list manager. +// +// Copyright 2006 - 2010, 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 +// +//////////////////////////////////////////////////////////////////////////////// +#include + +extern Context context; + +//////////////////////////////////////////////////////////////////////////////// +// bool dependencyCheckCircular (); +// void dependencyCheckDangling (); +// bool dependencyIsBlocked (); +// bool dependencyIsBlocking (); +// bool dependencyRepairNeeded (); +// void dependencyRepairChain (); +// bool dependencyRepairConfirm (); +// void dependencyNag (); + +//////////////////////////////////////////////////////////////////////////////// + diff --git a/src/tests/Makefile b/src/tests/Makefile index 542a8576c..f3e8bcab3 100644 --- a/src/tests/Makefile +++ b/src/tests/Makefile @@ -11,7 +11,7 @@ OBJECTS = ../t-TDB.o ../t-Task.o ../t-text.o ../t-Date.o ../t-Table.o \ ../t-Grid.o ../t-Color.o ../t-rules.o ../t-recur.o ../t-custom.o \ ../t-export.o ../t-import.o ../t-edit.o ../t-Timer.o \ ../t-Permission.o ../t-Path.o ../t-File.o ../t-Directory.o \ - ../t-Hooks.o ../t-API.o ../t-rx.o ../t-Taskmod.o + ../t-Hooks.o ../t-API.o ../t-rx.o ../t-Taskmod.o ../t-dependency.o all: $(PROJECT)