3
* $Id: dicomechoassociation.cpp 3526 2011-03-16 19:56:19Z carlos $
6
* Copyright 2008-10 MetaEmotion S.L. All rights reserved.
7
* http://ginkgo-cadx.com
9
* This file is licensed under LGPL v3 license.
10
* See License.txt for details
14
#include <api/icontroladorlog.h>
15
#include <main/controllers/controladorlog.h>
16
#include "dicomechoassociation.h"
17
#include <api/internacionalizacion.h>
20
#define MACRO_QUE_ESTORBA verify
25
#ifdef MACRO_QUE_ESTORBA
26
#define verify MACRO_QUE_ESTORBA
29
EchoAssociation::EchoAssociation(const std::string& ambitolog) : Association(ambitolog) {
30
m_abstractSyntax = UID_VerificationSOPClass;
33
EchoAssociation::~EchoAssociation() {
36
void EchoAssociation::OnAddPresentationContext(T_ASC_Parameters* params) {
37
CONDITION cond = ASC_addPresentationContext(params, 1, m_abstractSyntax, AllTransferSyntaxes, 3);
39
LOG_ERROR(ambitolog, "Unable to add default presentation context");