22 lines
351 B
C++
22 lines
351 B
C++
#include "client.hpp"
|
|
|
|
#include <myx/redis/pubsub.hpp>
|
|
#include <myx/redis/client.hpp>
|
|
|
|
#include <QCoreApplication>
|
|
#include <QDebug>
|
|
|
|
namespace MR = myx::redis;
|
|
|
|
int main( int argc, char** argv )
|
|
{
|
|
QCoreApplication app( argc, argv );
|
|
|
|
MR::PubSub a;
|
|
MR::Client b;
|
|
RedisClient c( &a );
|
|
a.start();
|
|
|
|
return( QCoreApplication::exec() );
|
|
} // main
|