Skip to content
Snippets Groups Projects
Commit 0285c164 authored by Oliver Bock's avatar Oliver Bock
Browse files

Put the Einstein@Home shared memory area identifier where it belongs

* Static constant
* Also: removed even more traling whitespaces
parent 9e401769
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,8 @@
#include "EinsteinS5R3Adapter.h"
const string EinsteinS5R3Adapter::SharedMemoryIdentifier = "EinsteinHS";
EinsteinS5R3Adapter::EinsteinS5R3Adapter(BOINCClientAdapter *boincClient)
{
this->boincClient = boincClient;
......
......@@ -95,6 +95,9 @@ public:
*/
double wuCPUTime() const;
/// The identifier of the Einstein@Home science application's shared memory area
static const string SharedMemoryIdentifier;
private:
/**
......
......@@ -621,7 +621,7 @@ void Starsphere::initialize(const int width, const int height, const Resource *f
if(font) m_FontResource = font;
// initialize the BOINC client adapter
m_BoincAdapter.initialize("EinsteinHS");
m_BoincAdapter.initialize(EinsteinS5R3Adapter::SharedMemoryIdentifier);
// inital HUD offset setup
m_XStartPosLeft = 5;
......
......@@ -40,6 +40,7 @@
#include <util.h>
#include "AbstractGraphicsEngine.h"
#include "EinsteinS5R3Adapter.h"
/* SIN and COS take arguments in DEGREES */
#define PI 3.14159265
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment