Enhancement - echo ID on add

- When a task is added, the new ID is echoed back, for convenience.
  This requires a scan of the pending file, so there is a performance
  hit, and the feature is controlled by the FEATURE_NEW_ID define.
This commit is contained in:
Paul Beckingham 2009-06-20 13:06:53 -04:00
parent 02518e0223
commit f5e0f8b7a6
4 changed files with 17 additions and 9 deletions

View file

@ -25,9 +25,8 @@
//
////////////////////////////////////////////////////////////////////////////////
// TDB Optimization attempts to reduce the amount of I/O.
#define FEATURE_TDB_OPT 1
#define FEATURE_TDB_OPT 1 // TDB Optimization reduces file I/O.
#define FEATURE_NEW_ID 1 // Echoes back new id.
#include <string>
#include <vector>