diff options
Diffstat (limited to 'tools/gator/daemon/AnnotateListener.h')
-rw-r--r-- | tools/gator/daemon/AnnotateListener.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/gator/daemon/AnnotateListener.h b/tools/gator/daemon/AnnotateListener.h new file mode 100644 index 000000000000..cdefef12db22 --- /dev/null +++ b/tools/gator/daemon/AnnotateListener.h @@ -0,0 +1,31 @@ +/** + * Copyright (C) ARM Limited 2014. 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; +class OlyServerSocket; + +class AnnotateListener { +public: + AnnotateListener(); + ~AnnotateListener(); + + void setup(); + int getFd(); + + void handle(); + void close(); + void signal(); + +private: + AnnotateClient *mClients; + OlyServerSocket *mSock; + + // Intentionally unimplemented + AnnotateListener(const AnnotateListener &); + AnnotateListener &operator=(const AnnotateListener &); +}; |