18 lines
346 B
C++
18 lines
346 B
C++
#ifndef NO_CPP0X
|
|
#include "ApiServer.h"
|
|
#include "ServiceContext.h"
|
|
namespace bts {
|
|
namespace api {
|
|
|
|
ApiServer::ApiServer(
|
|
const ServiceContext &ctx,
|
|
const std::string &type,
|
|
const std::string &qualifier)
|
|
: _channel(ctx.publish(*this, type, qualifier)) {}
|
|
|
|
ApiServer::~ApiServer() {}
|
|
|
|
} // namespace api
|
|
} // namespace bts
|
|
#endif
|