mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-07 21:58:13 -05:00
22 lines
440 B
C++
22 lines
440 B
C++
#pragma once
|
|
|
|
#include "ApiTypes.h"
|
|
#include "ResourceRouter.h"
|
|
|
|
class RsServiceControl;
|
|
|
|
namespace resource_api
|
|
{
|
|
|
|
class ServiceControlHandler: public ResourceRouter
|
|
{
|
|
public:
|
|
ServiceControlHandler(RsServiceControl* control);
|
|
|
|
private:
|
|
RsServiceControl* mRsServiceControl;
|
|
void handleWildcard(Request& req, Response& resp);
|
|
void handleUser(Request& req, Response& resp);
|
|
};
|
|
} // namespace resource_api
|