~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/manifest.h

  • Committer: Olaf van der Spek
  • Date: 2011-04-20 09:27:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2285.
  • Revision ID: olafvdspek@gmail.com-20110420092749-hw1q9rfj1pumc2no
Session Cache

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
 
4
 *  Copyright (C) 2009 Sun Microsystems, Inc.
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
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_MODULE_MANIFEST_H
21
 
#define DRIZZLED_MODULE_MANIFEST_H
 
20
#pragma once
22
21
 
23
22
/**
24
23
 * @file Defines a Plugin Manifest
26
25
 * A module::Manifest is the struct contained in every Plugin Library.
27
26
 */
28
27
 
29
 
#include "drizzled/module/context.h"
30
 
#include "drizzled/module/option_context.h"
 
28
#include <drizzled/module/context.h>
 
29
#include <drizzled/module/option_context.h>
31
30
 
32
31
namespace drizzled
33
32
{
68
67
  const char *descr;         /* general descriptive text (for SHOW PLUGINS ) */
69
68
  plugin_license_type license; /* plugin license (PLUGIN_LICENSE_XXX)          */
70
69
  initialize_func_t init;     /* function to invoke when plugin is loaded     */
71
 
  drizzle_sys_var **system_vars;
 
70
  const char *depends;
72
71
  options_func_t init_options; /* register command line options              */
73
72
};
74
73
 
75
74
} /* namespace module */
76
75
} /* namespace drizzled */
77
76
 
78
 
#endif /* DRIZZLED_MODULE_MANIFEST_H */