~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/context.h

  • Committer: Andrew Hutchings
  • Date: 2010-09-26 08:33:47 UTC
  • mto: (1795.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1796.
  • Revision ID: andrew@linuxjedi.co.uk-20100926083347-fzsc9e7w0j4u7bj1
Disable boost:po allow_guessing which was making some wrong assumptions

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);
86
83
};
87
84
 
 
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
}
88
92
 
89
93
} /* namespace module */
90
94
} /* namespace drizzled */