mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
merged new xmlrpc-c revision 1472 from https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/trunk
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8545 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
32
libs/xmlrpc-c/tools/xmlrpc_cpp_proxy/proxyClass.hpp
Normal file
32
libs/xmlrpc-c/tools/xmlrpc_cpp_proxy/proxyClass.hpp
Normal file
@@ -0,0 +1,32 @@
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
#include "xmlrpcMethod.hpp"
|
||||
|
||||
class proxyClass {
|
||||
// An object of this class contains information about a proxy
|
||||
// class, and knows how to generate code.
|
||||
|
||||
public:
|
||||
proxyClass(std::string const& className);
|
||||
|
||||
proxyClass(proxyClass const&);
|
||||
|
||||
std::string
|
||||
className() const;
|
||||
|
||||
void
|
||||
addFunction(xmlrpcMethod const& function);
|
||||
|
||||
void
|
||||
printDeclaration(std::ostream& out) const;
|
||||
|
||||
void
|
||||
printDefinition(std::ostream& out) const;
|
||||
|
||||
private:
|
||||
|
||||
std::string const _className;
|
||||
|
||||
std::vector<xmlrpcMethod> functions;
|
||||
};
|
Reference in New Issue
Block a user