Index: /trunk/MagicSoft/Cosy/Changelog
===================================================================
--- /trunk/MagicSoft/Cosy/Changelog	(revision 8837)
+++ /trunk/MagicSoft/Cosy/Changelog	(revision 8838)
@@ -1,3 +1,23 @@
                                                                   -*-*- END -*-*-
+
+ 2008/01/30 Thomas Bretz
+
+   * candrv/sdolist.cc:
+     - use the ?: operator instead of a cast
+
+   * gui/GuiIncl.h:
+     - removed obsolete coord.h
+
+   * gui/MGCoordinates.h:
+     - added include of MPointing instead of forward declaration of class XY
+
+   * gui/MGCosy.cc:
+     - revised includes
+     - added some manipulators
+
+   * main/MStarguider.cc:
+     - revised includes
+
+
 
  2008/01/27 Thomas Bretz
@@ -91,5 +111,6 @@
      - thread doesn't run detached anymore
 
-   * candrv/nodedrv.[h,cc], devdrv/macs.[h,cc], devdrv/shaftencoder.[h,cc]:
+   * candrv/nodedrv.[h,cc], devdrv/macs.[h,cc], devdrv/shaftencoder.[h,cc],
+     candrv/network.[h,cc]:
      - changed from lout to gLog
      - added maipulators 
Index: /trunk/MagicSoft/Cosy/candrv/sdolist.cc
===================================================================
--- /trunk/MagicSoft/Cosy/candrv/sdolist.cc	(revision 8837)
+++ /trunk/MagicSoft/Cosy/candrv/sdolist.cc	(revision 8838)
@@ -93,5 +93,5 @@
 int PendingSDOList::IsPending() const
 {
-    return (int)fFirst->Next;
+    return fFirst->Next ? 1 : 0;
 }
 
Index: /trunk/MagicSoft/Cosy/gui/GuiIncl.h
===================================================================
--- /trunk/MagicSoft/Cosy/gui/GuiIncl.h	(revision 8837)
+++ /trunk/MagicSoft/Cosy/gui/GuiIncl.h	(revision 8838)
@@ -1,5 +1,3 @@
 #ifndef __CINT__
 
-#include "coord.h"
-
 #endif // __CINT__
Index: /trunk/MagicSoft/Cosy/gui/MGCoordinates.h
===================================================================
--- /trunk/MagicSoft/Cosy/gui/MGCoordinates.h	(revision 8837)
+++ /trunk/MagicSoft/Cosy/gui/MGCoordinates.h	(revision 8838)
@@ -1,10 +1,4 @@
 #ifndef COSY_MGCoordinates
 #define COSY_MGCoordinates
-
-//
-// This File contains the declaration of the MGCoordinates-class
-//
-//   Author: Thomas Bretz
-//   Version: V1.0 (1-8-2000)
 
 #ifndef ROOT_TGFrame
@@ -12,5 +6,7 @@
 #endif
 
-class XY;
+#ifndef MARS_MPointing
+#include "MPointing.h"
+#endif
 
 enum {
Index: /trunk/MagicSoft/Cosy/gui/MGCosy.cc
===================================================================
--- /trunk/MagicSoft/Cosy/gui/MGCosy.cc	(revision 8837)
+++ /trunk/MagicSoft/Cosy/gui/MGCosy.cc	(revision 8838)
@@ -3,8 +3,4 @@
 #include <iomanip>
 #include <fstream>
-
-#include "msgqueue.h"
-#include "coord.h"
-#include "slalib.h"
 
 #include <TROOT.h>
@@ -22,8 +18,12 @@
 #include <TApplication.h>  // gApplication
 
-#include "MCosy.h"
+#include "MLog.h"
+#include "MLogManip.h"
+
 #include "MTime.h"
 #include "MString.h"
 #include "MAstro.h"
+
+#include "MCosy.h"
 #include "MGList.h"
 #include "MDriveCom.h"
@@ -36,4 +36,9 @@
 
 #include "SlaStars.h"
+/*
+#include "msgqueue.h"
+#include "coord.h"
+#include "slalib.h"
+*/
 
 #define DEBUG
@@ -323,5 +328,5 @@
     if (!fin)
     {
-        cout << "ERROR: Predifined positions in 'prepos.txt' not found." << endl;
+        gLog << err << "ERROR: Predifined positions in 'prepos.txt' not found." << endl;
         return;
     }
@@ -359,5 +364,5 @@
     if (!fin)
     {
-        cout << "ERROR: Star List 'stars.txt' not found." << endl;
+        gLog << err << "ERROR: Star List 'stars.txt' not found." << endl;
         return;
     }
Index: /trunk/MagicSoft/Cosy/main/MStarguider.cc
===================================================================
--- /trunk/MagicSoft/Cosy/main/MStarguider.cc	(revision 8837)
+++ /trunk/MagicSoft/Cosy/main/MStarguider.cc	(revision 8838)
@@ -5,6 +5,4 @@
 
 #include <fstream>    // ifstream
-#include <iostream>   // cout
-#include <iomanip>    // cout
 
 #include <TH2F.h>
@@ -14,7 +12,4 @@
 #include <TFile.h> // temp writeout of histos
 #include <TSocket.h>
-
-#include "MAstro.h"
-#include "MString.h"
 
 #include <TGMenu.h>
@@ -25,4 +20,11 @@
 #include <TGLayout.h>
 #include "MString.h"
+
+#include "MLog.h"
+#include "MLogManip.h"
+
+#include "MAstro.h"
+#include "MString.h"
+
 
 #include "MCosy.h"
