Enhancements

- Added stubbed DOM code.
- Added stubbed TDB2 code.
This commit is contained in:
Paul Beckingham 2011-04-12 23:47:38 -04:00
parent 2ce54f10f8
commit 9b3f565e90
10 changed files with 2157 additions and 15 deletions

96
src/DOM.cpp Normal file
View file

@ -0,0 +1,96 @@
////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager.
//
// Copyright 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
//
////////////////////////////////////////////////////////////////////////////////
#include <DOM.h>
////////////////////////////////////////////////////////////////////////////////
DOM::DOM ()
{
}
////////////////////////////////////////////////////////////////////////////////
DOM::~DOM ()
{
}
////////////////////////////////////////////////////////////////////////////////
const int DOM::getInteger (const std::string& name)
{
return 0;
}
////////////////////////////////////////////////////////////////////////////////
const double DOM::getReal (const std::string& name)
{
return 0.0;
}
////////////////////////////////////////////////////////////////////////////////
const bool DOM::getBoolean (const std::string& name)
{
return false;
}
////////////////////////////////////////////////////////////////////////////////
const time_t DOM::getDate (const std::string& name)
{
return 0;
}
////////////////////////////////////////////////////////////////////////////////
const std::string DOM::get (const std::string& name)
{
return "";
}
////////////////////////////////////////////////////////////////////////////////
void DOM::set (const std::string& name, const bool value)
{
}
////////////////////////////////////////////////////////////////////////////////
void DOM::set (const std::string& name, const int value)
{
}
////////////////////////////////////////////////////////////////////////////////
void DOM::set (const std::string& name, const double value)
{
}
////////////////////////////////////////////////////////////////////////////////
void DOM::set (const std::string& name, const time_t value)
{
}
////////////////////////////////////////////////////////////////////////////////
void DOM::set (const std::string& name, const std::string& value)
{
}
////////////////////////////////////////////////////////////////////////////////