~drizzle-trunk/drizzle/development

1999.6.1 by kalebral at gmail
update Copyright strings to a more common format to help with creating the master debian copyright file
1
/* Copyright (C) 2010 PrimeBase Technologies GmbH, Germany
1548.2.2 by Barry.Leslie at PrimeBase
A lot of minor changes to clean up the code and to get it to build with Drizzle.
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
1802.10.2 by Monty Taylor
Update all of the copyright headers to include the correct address.
17
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1548.2.2 by Barry.Leslie at PrimeBase
A lot of minor changes to clean up the code and to get it to build with Drizzle.
18
 *
19
 * Author: Barry Leslie
20
 *
21
 */
2234 by Brian Aker
Mass removal of ifdef/endif in favor of pragma once.
22
#pragma once
1548.2.2 by Barry.Leslie at PrimeBase
A lot of minor changes to clean up the code and to get it to build with Drizzle.
23
#ifndef __PBMS_VERSION_H__
24
#define __PBMS_VERSION_H__
25
1548.2.24 by Barry.Leslie at PrimeBase
Reorganized code while fixing some minor problems.
26
// In the MySQL build the version number is set in configure.in AM_INIT_AUTOMAKE()
27
// In the drizzle build it is set in plugin.in
28
1548.2.11 by Barry.Leslie at PrimeBase
Removed libxml reqirement by using a home grown xml parser.
29
#ifndef PBMS_VERSION
1548.2.24 by Barry.Leslie at PrimeBase
Reorganized code while fixing some minor problems.
30
#define PBMS_VERSION 0.5.14-betaxx
1548.2.11 by Barry.Leslie at PrimeBase
Removed libxml reqirement by using a home grown xml parser.
31
#endif
1548.2.2 by Barry.Leslie at PrimeBase
A lot of minor changes to clean up the code and to get it to build with Drizzle.
32
1548.2.24 by Barry.Leslie at PrimeBase
Reorganized code while fixing some minor problems.
33
#define _PBMSSTR(x) #x
34
#define PBMSSTR(x) _PBMSSTR(x)
35
36
class PBMSVersion
37
{
38
public:
39
	static const char *getCString() { return PBMSSTR(PBMS_VERSION); }
40
};
41
1548.2.2 by Barry.Leslie at PrimeBase
A lot of minor changes to clean up the code and to get it to build with Drizzle.
42
#endif // __PBMS_VERSION_H__