setdethostname not required and get detect hostname should return null if uninitialized

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@783 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d 2014-03-14 10:58:26 +00:00
parent 899d9d3a9c
commit 91c59ce65e

View File

@ -65,16 +65,11 @@ public:
*/
virtual void initialize(const char *detectorHostName) = 0;
/**
* Set detector hostname
@param c hostname
/returns hostname
*/
/*FIXME: char* setDetectorHostname(char c[]); Can/want we support this setter function? Can't change after initialization */
/* Returns detector hostname
/returns hostname
* caller needs to deallocate the returned char array.
* if uninitialized, it must return NULL
*/
virtual char *getDetectorHostname() = 0;