Index: /trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.h
===================================================================
--- /trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.h	(revision 11616)
+++ /trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.h	(revision 11617)
@@ -27,9 +27,8 @@
 #include <GL/gl.h>
 
-#define __MARS__
-#include <MFits.h>
 #include <string>
+#include "fits.h"
+
 using namespace std;
-
 
 #define NUM_STORED_EVENTS 5
@@ -99,5 +98,4 @@
     void drawHexagon(int index, bool solid);
     void setCorrectSlice(QMouseEvent* event);
-    bool IsFits(const char* name);
     void eventStepping(bool plus);
     void buildVerticesList();
@@ -139,5 +137,5 @@
     GLfloat patchesColor[160][3];
     vector<edge> patchesIndices[160];
-    MFits* inputFile;
+    fits* inputFile;
 
     QPoint lastPos;
