Chat-O-Matic/application/ProtocolLooper.h
2011-12-03 22:38:03 +00:00

26 lines
519 B
C++

/*
* Copyright 2009-2011, Andrea Anzani. All rights reserved.
* Copyright 2009-2011, Pier Luigi Fiorini. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _PROTOCOL_LOOPER_H
#define _PROTOCOL_LOOPER_H
#include <Looper.h>
#include "CayaProtocol.h"
class ProtocolLooper : public BLooper {
public:
ProtocolLooper(CayaProtocol* protocol);
void MessageReceived(BMessage* msg);
CayaProtocol* Protocol();
private:
CayaProtocol* fProtocol;
};
#endif // _PROTOCOL_LOOPER_H