2020-04-23 20:36:49 +00:00
|
|
|
#include "client.hpp"
|
|
|
|
|
2020-04-26 17:33:04 +00:00
|
|
|
#include <myx/redis/pubsub.hpp>
|
|
|
|
|
2020-04-23 20:36:49 +00:00
|
|
|
#include <QCoreApplication>
|
|
|
|
#include <QDebug>
|
|
|
|
|
2020-04-26 17:33:04 +00:00
|
|
|
namespace MR = myx::redis;
|
|
|
|
|
2020-04-23 20:36:49 +00:00
|
|
|
int main( int argc, char** argv )
|
|
|
|
{
|
|
|
|
QCoreApplication app( argc, argv );
|
2020-04-26 17:33:04 +00:00
|
|
|
|
|
|
|
MR::PubSub a;
|
|
|
|
RedisClient c( &a );
|
|
|
|
a.start();
|
2020-04-23 20:36:49 +00:00
|
|
|
|
|
|
|
return( QCoreApplication::exec() );
|
|
|
|
} // main
|