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