Адаптация библиотеки для Redis
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
#ifndef QREDIS_PARSER_H
|
||||
#define QREDIS_PARSER_H
|
||||
#ifndef MYX_REDIS_PARSER_HPP_
|
||||
#define MYX_REDIS_PARSER_HPP_
|
||||
|
||||
#include <QList>
|
||||
#include <QObject>
|
||||
@ -9,8 +9,9 @@
|
||||
#include <reply.hpp>
|
||||
#include <lexer.hpp>
|
||||
|
||||
namespace qxredis
|
||||
{
|
||||
namespace myx {
|
||||
|
||||
namespace redis {
|
||||
|
||||
class Parser : public QObject
|
||||
{
|
||||
@ -20,7 +21,7 @@ public:
|
||||
Parser( Lexer*, QObject* = nullptr );
|
||||
virtual ~Parser() = default;
|
||||
|
||||
Q_SIGNAL void reply( const qxredis::Reply& );
|
||||
Q_SIGNAL void reply( const myx::redis::Reply& );
|
||||
|
||||
private:
|
||||
Q_SLOT void readCharacter( const char );
|
||||
@ -49,6 +50,8 @@ public:
|
||||
Task& tos() { return( stack.last() ); }
|
||||
}; // class Parser
|
||||
|
||||
} // namespace QRedis
|
||||
} // namespace redis
|
||||
|
||||
#endif // QREDIS_PARSER_H
|
||||
} // namespace myx
|
||||
|
||||
#endif // MYX_REDIS_PARSER_HPP_
|
||||
|
Reference in New Issue
Block a user