~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to drizzled/module/library.h

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 */
29
29
 
30
30
#include <string>
31
 
 
32
31
#include <boost/filesystem.hpp>
33
32
 
34
 
namespace drizzled
35
 
{
36
 
namespace module
37
 
{
 
33
namespace drizzled {
 
34
namespace module {
38
35
 
39
36
struct Manifest;
40
37
 
41
38
/* A handle for the dynamic library containing a plugin or plugins. */
42
 
class Library
 
39
class Library : boost::noncopyable
43
40
{
44
41
  std::string name;
45
42
  void *handle;
46
43
  const Manifest *manifest;
47
44
 
48
 
  /* We don't want these */
49
 
  Library();
50
 
  Library(const Library &);
51
 
  Library& operator=(const Library &);
52
 
 
53
45
  /* Construction should only happen through the static factory method */
54
 
  Library(const std::string &name_arg,
55
 
          void *handle_arg,
56
 
          const Manifest *manifest_arg);
 
46
  Library(const std::string &name_arg, void *handle_arg, const Manifest*);
57
47
 
58
48
public:
59
49
  ~Library();
74
64
 
75
65
} /* namespace module */
76
66
} /* namespace drizzled */
77