Apparently DAQ changed raw-data filenames conventions. Technical fix, should go also...
[u/mrichter/AliRoot.git] / RAW / AliRawHLTManager.h
index f8ea55c..a5d1b44 100644 (file)
 // refer to README to build package
 // or
 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
 class AliRawReader;
 #include "TObject.h"
+
+extern "C" {
+  typedef AliRawReader* (*AliRawReaderHLTCreateInstance_t)(AliRawReader* pParentReader, const char* options);
+}
                         
 /**
  * @class AliRawHLTManager
@@ -67,11 +71,19 @@ class AliRawHLTManager {
   static int fLibraryStatus; //!transient
 
   /** entry in the HOMER library */
-  static void* fFctCreateRawReaderHLT; //!transient
+  static AliRawReaderHLTCreateInstance_t fFctCreateRawReaderHLT; //!transient
 
   /** entry in the HOMER library */
   static void* fFctCreateRawStream; //!transient
 
   ClassDef(AliRawHLTManager, 0)
 };
+
+// those definitions have been copied one to one from rec/AliRawReaderHLT.h
+// to avoid including this header file
+#define ALIHLTREC_LIBRARY                   "libHLTrec.so"
+#define ALIHLTREC_LIBRARY_VERSION           0
+#define ALIRAWREADERHLT_CREATE_INSTANCE     "AliRawReaderHLTCreateInstance"
+
+
 #endif //ALIRAWHLTMANAGER_H