[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/ksysguard/gui/ksgrd
From:       John Tapsell <john.tapsell () kdemail ! net>
Date:       2009-11-14 15:53:42
Message-ID: 1258214022.743423.6776.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1049166 by johnflux:

Document API a little bit


 M  +7 -2      SensorClient.h  


--- trunk/KDE/kdebase/workspace/ksysguard/gui/ksgrd/SensorClient.h #1049165:1049166
@@ -46,13 +46,18 @@
       been received by the sensor agent. This function must be reimplemented
       by the sensor client to receive and process this information.
      */
-    virtual void answerReceived( int, const QList<QByteArray>& ) { }
+    virtual void answerReceived( int id, const QList<QByteArray>& answer) {
+        Q_UNUSED(id);
+        Q_UNUSED(answer);
+    }
 
     /**
       In case of an unexpected fatal problem with the sensor the sensor
       agent will call this function to notify the client about it.
      */
-    virtual void sensorLost( int ) { }
+    virtual void sensorLost( int id ) {
+        Q_UNUSED(id);
+    }
 };
 
 /**
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic