myxlib/examples/redis/01_client/client.cpp

20 lines
303 B
C++
Raw Normal View History

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