remove obsolete .cvsignore files
[vuplus_dvbapp] / lib / dvb_ci / dvbci_datetimemgr.cpp
index 5d2c61d..f2b8a5c 100644 (file)
@@ -1,13 +1,14 @@
 /* DVB CI DateTime Manager */
 
+#include <lib/base/eerror.h>
 #include <lib/dvb_ci/dvbci_datetimemgr.h>
 
 int eDVBCIDateTimeSession::receivedAPDU(const unsigned char *tag,const void *data, int len)
 {
-       printf("SESSION(%d)/DATETIME %02x %02x %02x: ", session_nb, tag[0],tag[1], tag[2]);
+       eDebugNoNewLine("SESSION(%d)/DATETIME %02x %02x %02x: ", session_nb, tag[0],tag[1], tag[2]);
        for (int i=0; i<len; i++)
-               printf("%02x ", ((const unsigned char*)data)[i]);
-       printf("\n");
+               eDebugNoNewLine("%02x ", ((const unsigned char*)data)[i]);
+       eDebug("");
 
        if ((tag[0]==0x9f) && (tag[1]==0x84))
        {
@@ -18,7 +19,7 @@ int eDVBCIDateTimeSession::receivedAPDU(const unsigned char *tag,const void *dat
                        return 1;
                        break;
                default:
-                       printf("unknown APDU tag 9F 84 %02x\n", tag[2]);
+                       eDebug("unknown APDU tag 9F 84 %02x", tag[2]);
                        break;
                }
        }
@@ -39,7 +40,7 @@ int eDVBCIDateTimeSession::doAction()
                return 0;
        }
        case stateFinal:
-               printf("stateFinal und action! kann doch garnicht sein ;)\n");
+               eDebug("stateFinal und action! kann doch garnicht sein ;)");
        default:
                return 0;
        }