forked from Mirrors/freeswitch
00654d880e
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8545 d0543943-73ff-0310-b7d9-9358b9ac24b2
33 lines
590 B
C++
33 lines
590 B
C++
#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;
|
|
};
|