~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/context.h

  • Committer: lbieber at stabletransit
  • Date: 2010-10-18 20:26:50 UTC
  • mfrom: (1859.1.4 build)
  • Revision ID: lbieber@drizzle-build-n02.wc1.dfw1.stabletransit.com-20101018202650-hcvsp7yuaf1xy04s
Merge Monty - Adds support for a const std::string sys_var type.
Merge Monty - Make it possible to use sys_var directly from plugins.
Merge Padraig - Replaced a few unit8_t types that were being used as bitmaps with std::bitset

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
  void registerVariable(sys_var *var);
81
81
 
82
82
  option_map getOptions();
 
83
 
 
84
  static std::string prepend_name(std::string module_name,
 
85
                                  const std::string &var_name);
83
86
};
84
87
 
85
 
inline void Context::registerVariable(sys_var *)
86
 
{
87
 
/* In here, you can do:
88
 
  sys_var->append_name_prefix(module->getName());
89
 
  register_variable_whatever();
90
 
*/
91
 
}
92
88
 
93
89
} /* namespace module */
94
90
} /* namespace drizzled */