From 29604d06261392ee3dac64e6d9fb5d81879d75a8 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 3 Jul 2014 19:06:05 -0400 Subject: [PATCH] Context - Stubbed a ::loadAliases method to stuff the Parser with alias defs. --- src/Context.cpp | 6 ++++++ src/Context.h | 1 + 2 files changed, 7 insertions(+) diff --git a/src/Context.cpp b/src/Context.cpp index 21083f169..bfeffd3c5 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -126,6 +126,7 @@ int Context::initialize (int argc, const char** argv) // Dump any existing values and load rc file. config.clear (); config.load (rc_file); + loadAliases (); // The data location, Context::data_dir, is determined from the assumed // location (~/.task), or set by data.location in the config file, or @@ -746,6 +747,11 @@ void Context::updateVerbosity () } } +//////////////////////////////////////////////////////////////////////////////// +void Context::loadAliases () +{ +} + //////////////////////////////////////////////////////////////////////////////// void Context::header (const std::string& input) { diff --git a/src/Context.h b/src/Context.h index 0fc73be11..24d5bef42 100644 --- a/src/Context.h +++ b/src/Context.h @@ -78,6 +78,7 @@ private: void createDefaultConfig (); void updateXtermTitle (); void updateVerbosity (); + void loadAliases (); public: std::string program;