blob: 49c314348b6cdc0d4405ca5f79fa55d0ba88f92c [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009 Nokia and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Nokia - Initial API and implementation
*******************************************************************************/
#ifndef TCFSERVICE_H_
#define TCFSERVICE_H_
#include <string>
#include "TCFHeaders.h"
/*
* Abstract of TCF service in agent.
*/
class TCFService {
public:
TCFService(Protocol * proto);
virtual ~TCFService();
Protocol* GetProtocol();
void AddCommand(const char * name, ProtocolCommandHandler handler);
/*
* get service name.
*/
virtual const char* GetName() = 0;
private:
Protocol * protocol;
};
#endif /* TCFSERVICE_H_ */