Code Cleanup

- Renamed files task.h -> main.h, task.cpp -> main.cpp.  This is to
  prepare for the next rename, which addresses the OpenBSD bug.
- Removed utf8.h, utf8.cpp from Makefile.am, which were inadvertantly
  added.
This commit is contained in:
Paul Beckingham 2009-06-10 21:18:48 -04:00
parent 41bcdc2875
commit 71f4749d56
21 changed files with 21 additions and 21 deletions

View file

@ -32,7 +32,7 @@
#include "Context.h" #include "Context.h"
#include "text.h" #include "text.h"
#include "util.h" #include "util.h"
#include "task.h" #include "main.h"
#include "i18n.h" #include "i18n.h"
#include "../auto.h" #include "../auto.h"

View file

@ -4,9 +4,9 @@ task_SOURCES = Att.cpp Cmd.cpp Config.cpp Context.cpp Date.cpp Duration.cpp \
Record.cpp Sequence.cpp StringTable.cpp Subst.cpp T2.cpp \ Record.cpp Sequence.cpp StringTable.cpp Subst.cpp T2.cpp \
TDB2.cpp Table.cpp Timer.cpp color.cpp command.cpp edit.cpp \ TDB2.cpp Table.cpp Timer.cpp color.cpp command.cpp edit.cpp \
import.cpp interactive.cpp parse.cpp recur.cpp report.cpp \ import.cpp interactive.cpp parse.cpp recur.cpp report.cpp \
rules.cpp task.cpp text.cpp utf8.cpp util.cpp \ rules.cpp main.cpp text.cpp util.cpp \
Att.h Cmd.h Config.h Context.h Date.h Duration.h Filter.h \ Att.h Cmd.h Config.h Context.h Date.h Duration.h Filter.h \
Grid.h Keymap.h Location.h Nibbler.h Record.h Sequence.h \ Grid.h Keymap.h Location.h Nibbler.h Record.h Sequence.h \
StringTable.h Subst.h T2.h TDB2.h Table.h Timer.h color.h \ StringTable.h Subst.h T2.h TDB2.h Table.h Timer.h color.h \
i18n.h task.h text.h utf8.h util.h \ i18n.h main.h text.h util.h \
T.cpp T.h TDB.cpp TDB.h T.cpp T.h TDB.cpp TDB.h

View file

@ -32,7 +32,7 @@
#include "text.h" #include "text.h"
#include "util.h" #include "util.h"
#include "TDB2.h" #include "TDB2.h"
#include "task.h" #include "main.h"
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// The ctor/dtor do nothing. // The ctor/dtor do nothing.

View file

@ -38,7 +38,7 @@
#include "TDB.h" #include "TDB.h"
#include "text.h" #include "text.h"
#include "util.h" #include "util.h"
#include "task.h" #include "main.h"
#ifdef HAVE_LIBNCURSES #ifdef HAVE_LIBNCURSES
#include <ncurses.h> #include <ncurses.h>

View file

@ -38,7 +38,7 @@
#include "Date.h" #include "Date.h"
#include "text.h" #include "text.h"
#include "util.h" #include "util.h"
#include "task.h" #include "main.h"
extern Context context; extern Context context;

View file

@ -33,7 +33,7 @@
#include "TDB.h" #include "TDB.h"
#include "text.h" #include "text.h"
#include "util.h" #include "util.h"
#include "task.h" #include "main.h"
extern Context context; extern Context context;

View file

@ -32,7 +32,7 @@
#include "Context.h" #include "Context.h"
//#include "text.h" //#include "text.h"
//#include "util.h" //#include "util.h"
//#include "task.h" //#include "main.h"
//#include "i18n.h" //#include "i18n.h"
#include "../auto.h" #include "../auto.h"

View file

@ -44,7 +44,7 @@
#include "T.h" #include "T.h"
#include "text.h" #include "text.h"
#include "util.h" #include "util.h"
#include "task.h" #include "main.h"
#ifdef HAVE_LIBNCURSES #ifdef HAVE_LIBNCURSES
#include <ncurses.h> #include <ncurses.h>

View file

@ -44,7 +44,7 @@
#include "T.h" #include "T.h"
#include "text.h" #include "text.h"
#include "util.h" #include "util.h"
#include "task.h" #include "main.h"
#ifdef HAVE_LIBNCURSES #ifdef HAVE_LIBNCURSES
#include <ncurses.h> #include <ncurses.h>

View file

@ -42,7 +42,7 @@
#include "T.h" #include "T.h"
#include "text.h" #include "text.h"
#include "util.h" #include "util.h"
#include "task.h" #include "main.h"
#ifdef HAVE_LIBNCURSES #ifdef HAVE_LIBNCURSES
#include <ncurses.h> #include <ncurses.h>

View file

@ -27,7 +27,7 @@
#include <iostream> #include <iostream>
#include <test.h> #include <test.h>
#include <util.h> #include <util.h>
#include <task.h> #include <main.h>
Context context; Context context;

View file

@ -24,7 +24,7 @@
// USA // USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include "task.h" #include "main.h"
#include "test.h" #include "test.h"
#include "Filter.h" #include "Filter.h"
#include "T2.h" #include "T2.h"

View file

@ -25,7 +25,7 @@
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include "task.h" #include "main.h"
#include "text.h" #include "text.h"
#include "test.h" #include "test.h"

View file

@ -26,7 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <sys/time.h> #include <sys/time.h>
#include "T.h" #include "T.h"
#include "task.h" #include "main.h"
#include "test.h" #include "test.h"
Context context; Context context;

View file

@ -26,7 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include "TDB.h" #include "TDB.h"
#include "T.h" #include "T.h"
#include "task.h" #include "main.h"
#include "test.h" #include "test.h"
Context context; Context context;

View file

@ -24,7 +24,7 @@
// USA // USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include "task.h" #include "main.h"
#include "test.h" #include "test.h"
Context context; Context context;

View file

@ -28,7 +28,7 @@
#include <unistd.h> #include <unistd.h>
#include "TDB.h" #include "TDB.h"
#include "task.h" #include "main.h"
#include "test.h" #include "test.h"
Context context; Context context;

View file

@ -27,7 +27,7 @@
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>
#include <string> #include <string>
#include <task.h> #include <main.h>
#include <util.h> #include <util.h>
#include <text.h> #include <text.h>
#include "test.h" #include "test.h"

View file

@ -25,7 +25,7 @@
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include "task.h" #include "main.h"
#include "text.h" #include "text.h"
#include "test.h" #include "test.h"

View file

@ -41,7 +41,7 @@
#include "T.h" #include "T.h"
#include "TDB.h" #include "TDB.h"
#include "text.h" #include "text.h"
#include "task.h" #include "main.h"
#include "i18n.h" #include "i18n.h"
#include "../auto.h" #include "../auto.h"