initial checkin
[xmlrpc4s.git] / inc / XmlRpcClientInterface.h
blob2d8f5f3c4e4a2520eb2dfabf67838a4d1db5cf83
1 /*
2 * XmlRpcClientInterface.h
4 * xmlrpc4s - XML-RPC library for Symbian environments
5 * based on xmlrpc-s - Copyright (C) 2007 Timo Salminen
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License version 2.1 as published by the Free Software Foundation.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 * Contact: Timo Salminen <firstname.surname at oulu.fi>
23 #ifndef __XMLRPCCLIENTINTERFACE_H_
24 #define __XMLRPCCLIENTINTERFACE_H_
26 #include "XmlRpcValue.h"
27 #include "XmlRpcResponseHandlerInterface.h"
29 /**
30 * Interface implemented by the CXmlRpcClient.
32 * @author Timo Salminen
34 class MXmlRpcClientInterface
37 public:
39 /**
40 * InvokeL - method
42 * @param aMethod Name of the method to be called
43 * @param aArray Parameters in array. Ownership will be transferred!
44 * @param aResult CXmlRpcValue container, where the result will be stored
45 * @return ETrue, if successful. Otherwise EFalse.
47 virtual TBool InvokeL(MXmlRpcResponseHandlerInterface* aInterface,
48 const TDesC8& aMethod, RPointerArray<CXmlRpcValue>* aArray,
49 CXmlRpcValue& aResult ) = 0;
52 #endif /* __XMLRPCCLIENTINTERFACE_H_ */