Commit 3c5531a7 authored by armin's avatar armin
Browse files

added missing files

parent 54fc4602
#include "rocketchatspotlightrequest.h"
RocketChatSpotLightRequest::RocketChatSpotLightRequest(QString term, DdpCallback pSuccess): RocketChatSpotLightRequest(term)
{
setSuccess(pSuccess);
}
RocketChatSpotLightRequest::RocketChatSpotLightRequest(QString term)
{
QJsonArray params;
params.append(term);
buildRequest("addUserToRoom",params);
}
#ifndef ROCKETCHATSPOTLIGHTREQUEST_H
#define ROCKETCHATSPOTLIGHTREQUEST_H
#include <QJsonArray>
#include "ddpmethodrequest.h"
class RocketChatSpotLightRequest : public DDPMethodRequest
{
public:
RocketChatSpotLightRequest(QString term, DdpCallback pSuccess);
RocketChatSpotLightRequest(QString term);
};
#endif // ROCKETCHATSPOTLIGHTREQUEST_H
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment