~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/catalog/filesystem.h

  • Committer: Brian Aker
  • Date: 2010-12-02 00:25:17 UTC
  • mto: (2017.3.1 catalogs)
  • mto: This revision was merged to the branch mainline in revision 2073.
  • Revision ID: brian@tangent.org-20101202002517-hcair9rwgn05gvoj
Adding in the engine interface. The filesystem catalog will now handle
local.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#define PLUGIN_CATALOG_FILESYSTEM_H
23
23
 
24
24
#include <drizzled/plugin/catalog.h>
 
25
#include "plugin/catalog/engine.h"
25
26
 
26
27
namespace catalog {
27
28
 
32
33
  Filesystem() :
33
34
    drizzled::plugin::Catalog("FilesystemCatalog")
34
35
  {}
 
36
 
 
37
  catalog::Engine::shared_ptr engine()
 
38
  {
 
39
    Engine::shared_ptr ptr(new Engine());
 
40
 
 
41
    return ptr;
 
42
  }
 
43
 
35
44
};
36
45
 
37
46
} /* namespace catalog */