AnnotateListener.h 654 Bytes
Newer Older
Abhijith PA's avatar
Abhijith PA committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 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 &);
};