c++tools : Add a simple handler for ModuleCompiledRequest.
This just replies with "OK". c++tools/ChangeLog: * resolver.cc (module_resolver::ModuleCompiledRequest): Add a simple handler. * resolver.h: Declare handler for ModuleCompiledRequest.
This commit is contained in:
parent
f80b9be083
commit
c89d805397
|
@ -307,3 +307,14 @@ module_resolver::IncludeTranslateRequest (Cody::Server *s, Cody::Flags,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* This handles a client notification to the server that a CMI has been
|
||||||
|
produced for a module. For this simplified server, we just accept
|
||||||
|
the transaction and respond with "OK". */
|
||||||
|
|
||||||
|
int
|
||||||
|
module_resolver::ModuleCompiledRequest (Cody::Server *s, Cody::Flags,
|
||||||
|
std::string &)
|
||||||
|
{
|
||||||
|
s->OKResponse();
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
|
@ -96,6 +96,10 @@ public:
|
||||||
std::string &include)
|
std::string &include)
|
||||||
override;
|
override;
|
||||||
|
|
||||||
|
using parent::ModuleCompiledRequest;
|
||||||
|
virtual int ModuleCompiledRequest (Cody::Server *s, Cody::Flags Flags,
|
||||||
|
std::string &Module) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
using parent::GetCMISuffix;
|
using parent::GetCMISuffix;
|
||||||
virtual char const *GetCMISuffix () override;
|
virtual char const *GetCMISuffix () override;
|
||||||
|
|
Loading…
Reference in New Issue