summaryrefslogtreecommitdiffstats
path: root/src/server/util/global.h
blob: 38eec6d8b494a39871b6c7ea5e39abd4379a305a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * global.h
 *
 *  Created on: 29.01.2013
 *      Author: sr
 */

#ifndef GLOBAL_H_
#define GLOBAL_H_

#include <QString>
#include <QByteArray>

class Global
{
private:
	Global(){}
	~Global(){}

	static QString _sessionName;
	static QByteArray _sessionNameArray;

public:
	static const QString& sessionName() { return Global::_sessionName; }
	static const QByteArray& sessionNameArray() { return Global::_sessionNameArray; }
	static void setSessionName(const QString& name);
};

#endif /* GLOBAL_H_ */