PreVerify/mqtt/paho.mqtt.cpp/subscribe_options.cpp
2024-09-09 19:18:28 +08:00

35 lines
1.3 KiB
C++

// subscribe_options.cpp
/*******************************************************************************
* Copyright (c) 2019-2023 Frank Pagliughi <fpagliughi@mindspring.com>
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* and Eclipse Distribution License v1.0 which accompany this distribution.
*
* The Eclipse Public License is available at
* http://www.eclipse.org/legal/epl-v20.html
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* Contributors:
* Frank Pagliughi - initial implementation and documentation
*******************************************************************************/
#include "mqtt/subscribe_options.h"
namespace mqtt {
/////////////////////////////////////////////////////////////////////////////
PAHO_MQTTPP_EXPORT const bool subscribe_options::SUBSCRIBE_NO_LOCAL = true;
PAHO_MQTTPP_EXPORT const bool subscribe_options::SUBSCRIBE_LOCAL = false;
PAHO_MQTTPP_EXPORT const bool subscribe_options::NO_RETAIN_AS_PUBLISHED = false;
PAHO_MQTTPP_EXPORT const bool subscribe_options::RETAIN_AS_PUBLISHED = true;
/////////////////////////////////////////////////////////////////////////////
// end namespace 'mqtt'
}