~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/registry_dictionary/modules.cc

  • Committer: Brian Aker
  • Date: 2010-10-29 01:13:40 UTC
  • mto: (1890.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1891.
  • Revision ID: brian@tangent.org-20101029011340-y9ixm180v9daypqr
Remove warnings for c++

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* - mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2009 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2009 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include <config.h>
 
21
#include "config.h"
22
22
 
23
 
#include <plugin/registry_dictionary/dictionary.h>
24
 
#include <drizzled/module/library.h>
 
23
#include "plugin/registry_dictionary/dictionary.h"
 
24
#include "drizzled/module/library.h"
25
25
 
26
26
using namespace std;
27
27
using namespace drizzled;
41
41
  add_field("MODULE_NAME");
42
42
  add_field("MODULE_VERSION", 20);
43
43
  add_field("MODULE_AUTHOR");
44
 
  add_field("IS_BUILTIN", plugin::TableFunction::BOOLEAN, 0, false);
 
44
  add_field("IS_BUILTIN", plugin::TableFunction::BOOLEAN);
45
45
  add_field("MODULE_LIBRARY", 254);
46
46
  add_field("MODULE_DESCRIPTION", 254);
47
47
  add_field("MODULE_LICENSE", 80);
51
51
  plugin::TableFunction::Generator(arg)
52
52
{
53
53
  module::Registry &registry= module::Registry::singleton();
54
 
  modules= registry.getList();
 
54
  modules= registry.getList(true);
55
55
  it= modules.begin();
56
56
}
57
57