FF4 - Snapshot

- Added more Context responsibilities.
This commit is contained in:
Paul Beckingham
2009-05-16 22:22:56 -04:00
parent 2e39929d71
commit fdd43a9619
3 changed files with 8 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ Context::Context ()
Context::Context (const Context& other)
{
throw std::string ("unimplemented Context::Context");
// config = other.config;
config = other.config;
filter = other.filter;
keymap = other.keymap;
sequence = other.sequence;
@@ -50,7 +50,7 @@ Context& Context::operator= (const Context& other)
throw std::string ("unimplemented Context::operator=");
if (this != &other)
{
// config = other.config;
config = other.config;
filter = other.filter;
keymap = other.keymap;
sequence = other.sequence;
@@ -81,6 +81,7 @@ int Context::commandLine (int argc, char** argv)
{
throw std::string ("unimplemented Context::commandLine");
// TODO Support rc: override.
// TODO Handle "--version, -v" right here.
return 0;
}