~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbms/src/version_ms.h

  • Committer: Monty Taylor
  • Date: 2008-12-18 07:24:54 UTC
  • mto: This revision was merged to the branch mainline in revision 714.
  • Revision ID: monty@bitters-20081218072454-8pnep622damjgqli
Fixed one more my_time thing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2010 PrimeBase Technologies GmbH, Germany
2
 
 *
3
 
 * PrimeBase Media Stream Daemon
4
 
 *
5
 
 * This program is free software; you can redistribute it and/or modify
6
 
 * it under the terms of the GNU General Public License as published by
7
 
 * the Free Software Foundation; either version 2 of the License, or
8
 
 * (at your option) any later version.
9
 
 *
10
 
 * This program is distributed in the hope that it will be useful,
11
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
 * GNU General Public License for more details.
14
 
 *
15
 
 * You should have received a copy of the GNU General Public License
16
 
 * along with this program; if not, write to the Free Software
17
 
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
 
 *
19
 
 * Author: Barry Leslie
20
 
 *
21
 
 */
22
 
#ifndef __PBMS_VERSION_H__
23
 
#define __PBMS_VERSION_H__
24
 
 
25
 
// In the MySQL build the version number is set in configure.in AM_INIT_AUTOMAKE()
26
 
// In the drizzle build it is set in plugin.in
27
 
 
28
 
#ifndef PBMS_VERSION
29
 
#define PBMS_VERSION 0.5.14-betaxx
30
 
#endif
31
 
 
32
 
#define _PBMSSTR(x) #x
33
 
#define PBMSSTR(x) _PBMSSTR(x)
34
 
 
35
 
class PBMSVersion
36
 
{
37
 
public:
38
 
        static const char *getCString() { return PBMSSTR(PBMS_VERSION); }
39
 
};
40
 
 
41
 
#endif // __PBMS_VERSION_H__