Change windows line endings to unix ones and fix whitespace (spaces not tabs).

This commit is contained in:
RafalGoslawski 2020-10-05 15:44:33 +02:00
parent f786d141cd
commit 42aec54333
2 changed files with 43 additions and 43 deletions

View File

@ -1,42 +1,42 @@
/**
* DeferredConfirm.cpp
*
* Implementation file for the DeferredConfirm class
*
* @author Marcin Gibula <m.gibula@gmail.com>
* @copyright 2018 Copernica BV
*/
#include "includes.h"
#include "basicackframe.h"
#include "basicnackframe.h"
/**
* Namespace
*/
namespace AMQP {
/**
* Process an ACK frame
*
* @param frame The frame to process
*/
void DeferredConfirm::process(BasicAckFrame &frame)
{
if (_ackCallback) _ackCallback(frame.deliveryTag(), frame.multiple());
}
/**
* Process a NACK frame
*
* @param frame The frame to process
*/
void DeferredConfirm::process(BasicNackFrame &frame)
{
if (_nackCallback) _nackCallback(frame.deliveryTag(), frame.multiple(), frame.requeue());
}
/**
* End namespace
*/
}
/**
* DeferredConfirm.cpp
*
* Implementation file for the DeferredConfirm class
*
* @author Marcin Gibula <m.gibula@gmail.com>
* @copyright 2018 Copernica BV
*/
#include "includes.h"
#include "basicackframe.h"
#include "basicnackframe.h"
/**
* Namespace
*/
namespace AMQP {
/**
* Process an ACK frame
*
* @param frame The frame to process
*/
void DeferredConfirm::process(BasicAckFrame &frame)
{
if (_ackCallback) _ackCallback(frame.deliveryTag(), frame.multiple());
}
/**
* Process a NACK frame
*
* @param frame The frame to process
*/
void DeferredConfirm::process(BasicNackFrame &frame)
{
if (_nackCallback) _nackCallback(frame.deliveryTag(), frame.multiple(), frame.requeue());
}
/**
* End namespace
*/
}

View File

@ -13,7 +13,7 @@
#pragma once
/**
* Dependencies
* Dependencies
*/
#include <openssl/ssl.h>