Адаптация библиотеки для Redis

This commit is contained in:
2020-03-30 12:42:41 +03:00
parent 4069aaf315
commit 44466b80de
13 changed files with 106 additions and 64 deletions

View File

@ -1,17 +1,18 @@
#ifndef QXREDIS_REPLY_HPP_
#define QXREDIS_REPLY_HPP_
#ifndef MYX_REDIS_REPLY_HPP_
#define MYX_REDIS_REPLY_HPP_
#include <QVariant>
#include <config.hpp>
namespace qxredis
{
namespace myx {
namespace redis {
/**
* @brief Represents a Redis reply
*/
class QXREDIS_EXPORT Reply
class MYX_REDIS_EXPORT Reply
{
public:
@ -98,10 +99,12 @@ private:
Type _type;
QVariant _value;
}; // class QXREDIS_EXPORT Reply
}; // class MYX_REDIS_EXPORT Reply
} // namespace qxredis
} // namespace redis
Q_DECLARE_METATYPE( qxredis::Reply )
} // namespace myx
#endif // QXREDIS_REPLY_HPP_
Q_DECLARE_METATYPE( myx::redis::Reply )
#endif // MYX_REDIS_REPLY_HPP_