~ubuntu-branches/ubuntu/trusty/ginkgocadx/trusty

« back to all changes in this revision

Viewing changes to src/cadxcore/commands/linkhistorycommand.h

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-07-21 11:58:53 UTC
  • mfrom: (7.2.1 sid)
  • Revision ID: package-import@ubuntu.com-20130721115853-44e7n1xujqglu78e
Tags: 3.4.0.928.29+dfsg-1
* New upstream release [July 2013]
  + new B-D: "libjsoncpp-dev".
  + new patch "unbundle-libjsoncpp.patch" to avoid building bundled
    "libjsoncpp-dev".
  + new patch "fix-wx.patch" to avoid FTBFS due to missing
    "-lwx_gtk2u_html-2.8".
* Removed unnecessary versioned Build-Depends.
* Removed obsolete lintian override.
* Reference get-orig-source implementation for orig.tar clean-up and
  DFSG-repackaging.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
*  
 
3
*  $Id: comandoincluirhistorial.h $
 
4
*  Ginkgo CADx Project
 
5
*
 
6
*  Copyright 2008-12 MetaEmotion S.L. All rights reserved.
 
7
*  http://ginkgo-cadx.com
 
8
*
 
9
*  This file is licensed under LGPL v3 license.
 
10
*  See License.txt for details
 
11
*
 
12
*/
 
13
#pragma once
 
14
#include <list>
 
15
#include <set>
 
16
 
 
17
#include <api/api.h>
 
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>
 
23
 
 
24
namespace GNC {
 
25
        namespace GCS {
 
26
                class IVista;
 
27
        }
 
28
}
 
29
 
 
30
namespace GADAPI {
 
31
        //lee un directorio en profundidad y lo incluye en el dicomdir
 
32
        namespace LinkHistoryCommand
 
33
                {
 
34
                class LinkHistoryCommand;
 
35
                class EXTAPI LinkHistoryCommandParams : public GNC::GCS::IComandoParams {
 
36
                public:
 
37
                        LinkHistoryCommandParams(const GNC::GCS::Ptr<IModeloDicom>& pModelo);
 
38
                        virtual ~LinkHistoryCommandParams();
 
39
 
 
40
                        GNC::GCS::Ptr<IModeloDicom> m_pModelo;
 
41
                        GNC::GCS::IHistoryController::TAddErrorList m_ErrorList;
 
42
                        std::list<long>                             m_InsertedSeries;
 
43
                        bool m_abrirDespuesDeCargar;
 
44
                        bool m_informar;
 
45
                };
 
46
 
 
47
                class EXTAPI LinkHistoryCommand : public GNC::GCS::IComando {
 
48
                public:
 
49
 
 
50
                        LinkHistoryCommand(LinkHistoryCommandParams* pParams);
 
51
 
 
52
        protected:
 
53
                        virtual void Execute();
 
54
                        virtual void Update();
 
55
 
 
56
        private:
 
57
                        LinkHistoryCommandParams* m_pLinkParams;
 
58
                };
 
59
        }
 
60
}