~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/catalog.h

  • Committer: Brian Aker
  • Date: 2011-03-24 23:14:46 UTC
  • mfrom: (2246.4.12 foreach)
  • Revision ID: brian@tangent.org-20110324231446-7q1gydkglys73nft
Merge in XTF

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 
53
53
  virtual catalog::Engine::shared_ptr engine()= 0;
54
54
 
55
 
  static bool create(identifier::Catalog::const_reference);
56
 
  static bool create(identifier::Catalog::const_reference, message::catalog::shared_ptr &);
57
 
  static bool drop(identifier::Catalog::const_reference);
 
55
  static bool create(const identifier::Catalog&);
 
56
  static bool create(const identifier::Catalog&, message::catalog::shared_ptr &);
 
57
  static bool drop(const identifier::Catalog&);
58
58
 
59
 
  static bool lock(identifier::Catalog::const_reference);
60
 
  static bool unlock(identifier::Catalog::const_reference);
 
59
  static bool lock(const identifier::Catalog&);
 
60
  static bool unlock(const identifier::Catalog&);
61
61
 
62
62
  // Required for plugin interface
63
63
  static bool addPlugin(plugin::Catalog *plugin);
64
64
  static void removePlugin(plugin::Catalog *plugin);
65
65
 
66
66
  // Get Meta information
67
 
  static bool exist(identifier::Catalog::const_reference);
 
67
  static bool exist(const identifier::Catalog&);
68
68
  static void getIdentifiers(identifier::Catalog::vector &identifiers);
69
69
  static void getMessages(message::catalog::vector &messages);
70
 
  static message::catalog::shared_ptr getMessage(identifier::Catalog::const_reference);
 
70
  static message::catalog::shared_ptr getMessage(const identifier::Catalog&);
71
71
 
72
72
  // Get Instance
73
 
  static catalog::Instance::shared_ptr getInstance(identifier::Catalog::const_reference);
 
73
  static catalog::Instance::shared_ptr getInstance(const identifier::Catalog&);
74
74
};
75
75
 
76
76
} /* namespace plugin */