sala ifdef for now

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@807 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2014-03-26 09:07:46 +00:00
parent 4eb233cdf0
commit a1bd5cdae6
2 changed files with 4 additions and 1 deletions

View File

@ -70,6 +70,7 @@ public:
status = slsDetectorDefs::IDLE; status = slsDetectorDefs::IDLE;
} }
#ifdef SALA
//REST call - hardcoded //REST call - hardcoded
RestHelper rest ; RestHelper rest ;
rest.init("localhost",8080); rest.init("localhost",8080);
@ -109,6 +110,7 @@ public:
std::cout << "I SHOULD THROW AN EXCEPTION!!!" << std::endl; std::cout << "I SHOULD THROW AN EXCEPTION!!!" << std::endl;
} }
#endif
} }

View File

@ -10,8 +10,9 @@
*/ */
#include "sls_detector_defs.h" #include "sls_detector_defs.h"
#ifdef SALA
#include "RestHelper.h" #include "RestHelper.h"
#endif
class EigerReceiver { class EigerReceiver {
/* abstract class that defines the public interface of an eiger data receiver. /* abstract class that defines the public interface of an eiger data receiver.
* *