aboutsummaryrefslogtreecommitdiff
path: root/daemon/AnnotateListener.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/AnnotateListener.h')
-rw-r--r--daemon/AnnotateListener.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/daemon/AnnotateListener.h b/daemon/AnnotateListener.h
index cdefef1..6bc747d 100644
--- a/daemon/AnnotateListener.h
+++ b/daemon/AnnotateListener.h
@@ -1,12 +1,15 @@
/**
- * Copyright (C) ARM Limited 2014. All rights reserved.
+ * Copyright (C) ARM Limited 2014-2015. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-class AnnotateClient;
+#ifndef ANNOTATELISTENER_H
+#define ANNOTATELISTENER_H
+
+struct AnnotateClient;
class OlyServerSocket;
class AnnotateListener {
@@ -15,17 +18,22 @@ public:
~AnnotateListener();
void setup();
- int getFd();
+ int getSockFd();
+ int getUdsFd();
- void handle();
+ void handleSock();
+ void handleUds();
void close();
void signal();
private:
AnnotateClient *mClients;
OlyServerSocket *mSock;
+ OlyServerSocket *mUds;
// Intentionally unimplemented
AnnotateListener(const AnnotateListener &);
AnnotateListener &operator=(const AnnotateListener &);
};
+
+#endif // ANNOTATELISTENER_H