summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSan Mehat <san@android.com>2009-10-10 17:35:13 -0700
committerSan Mehat <san@android.com>2009-10-10 17:39:10 -0700
commitebfe3db361c51d9d99bf6cfd495bd16bdf815e1f (patch)
tree22a607259a2a794e127c191f756430dc907d7445 /include
parent808c89e1207fe3a60b6f8c3b03d3c65fcc7defbe (diff)
downloadsystem_core-ebfe3db361c51d9d99bf6cfd495bd16bdf815e1f.zip
system_core-ebfe3db361c51d9d99bf6cfd495bd16bdf815e1f.tar.gz
system_core-ebfe3db361c51d9d99bf6cfd495bd16bdf815e1f.tar.bz2
libsysutils: Fix some bugs in NetlinkListener and NetlinkEvent
Signed-off-by: San Mehat <san@android.com>
Diffstat (limited to 'include')
-rw-r--r--include/sysutils/NetlinkListener.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sysutils/NetlinkListener.h b/include/sysutils/NetlinkListener.h
index 6dcc005..2880046 100644
--- a/include/sysutils/NetlinkListener.h
+++ b/include/sysutils/NetlinkListener.h
@@ -26,7 +26,9 @@ class NetlinkListener : public SocketListener {
public:
NetlinkListener(int socket);
virtual ~NetlinkListener() {}
+
protected:
virtual bool onDataAvailable(SocketClient *cli);
+ virtual void onEvent(NetlinkEvent *evt) = 0;
};
#endif