3
* $Id: comandoincluirhistorial.h $
6
* Copyright 2008-12 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
18
#include <api/icommand.h>
19
#include <api/controllers/icontroladorvistas.h>
20
#include <api/controllers/ihistorycontroller.h>
21
#include <api/dicom/imodelodicom.h>
22
#include <wx/string.h>
31
//lee un directorio en profundidad y lo incluye en el dicomdir
32
namespace LinkHistoryCommand
34
class LinkHistoryCommand;
35
class EXTAPI LinkHistoryCommandParams : public GNC::GCS::IComandoParams {
37
LinkHistoryCommandParams(const GNC::GCS::Ptr<IModeloDicom>& pModelo);
38
virtual ~LinkHistoryCommandParams();
40
GNC::GCS::Ptr<IModeloDicom> m_pModelo;
41
GNC::GCS::IHistoryController::TAddErrorList m_ErrorList;
42
std::list<long> m_InsertedSeries;
43
bool m_abrirDespuesDeCargar;
47
class EXTAPI LinkHistoryCommand : public GNC::GCS::IComando {
50
LinkHistoryCommand(LinkHistoryCommandParams* pParams);
53
virtual void Execute();
54
virtual void Update();
57
LinkHistoryCommandParams* m_pLinkParams;