mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-23 05:41:24 -05:00
21 lines
425 B
C
21 lines
425 B
C
|
#pragma once
|
||
|
|
||
|
#include "ResourceRouter.h"
|
||
|
#include <retroshare/rsplugin.h>
|
||
|
|
||
|
namespace resource_api
|
||
|
{
|
||
|
|
||
|
// forwards all incoming requests to retroshare plugins
|
||
|
class ApiPluginHandler: public ResourceRouter
|
||
|
{
|
||
|
public:
|
||
|
ApiPluginHandler(StateTokenServer* statetokenserver, const RsPlugInInterfaces& ifaces);
|
||
|
virtual ~ApiPluginHandler();
|
||
|
|
||
|
private:
|
||
|
std::vector<ResourceRouter*> mChildren;
|
||
|
};
|
||
|
|
||
|
} // namespace resource_api
|