~ubuntu-branches/ubuntu/wily/ginkgocadx/wily-proposed

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Tille
  • Date: 2011-05-02 08:09:26 UTC
  • Revision ID: james.westby@ubuntu.com-20110502080926-bql5wep49c7hg91t
Tags: upstream-2.4.1.1
ImportĀ upstreamĀ versionĀ 2.4.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
*  
 
3
*  $Id: comandocarga.h 3521 2011-03-16 14:54:22Z carlos $
 
4
*  Ginkgo CADx Project
 
5
*
 
6
*  Copyright 2008-10 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 <api/icomando.h>
 
15
#include <api/icontroladorvistas.h>
 
16
#include <yasper/yasper.h>
 
17
 
 
18
namespace GNC {
 
19
        namespace GCS {
 
20
                class IVista;
 
21
        }
 
22
}
 
23
 
 
24
namespace GADAPI {
 
25
        class ComandoCarga;
 
26
 
 
27
        class ComandoCargaParams : public GNC::GCS::IComandoParams, public GNC::GCS::IObservadorVistas {
 
28
        public:
 
29
                ComandoCargaParams(GNC::GCS::IVista* pVista, GnkPtr<GIL::IModeloIntegracion>& modeloIntegracion, const std::string& uidEstudioDiagnostico);
 
30
 
 
31
                virtual ~ComandoCargaParams();
 
32
 
 
33
                virtual void OnVistaDestruida(GNC::GCS::IVista* pVista);
 
34
 
 
35
                GNC::GCS::IVista*               IVista;
 
36
                GnkPtr<GIL::IModeloIntegracion> ModeloIntegracion;
 
37
                std::string                     UIDEstudioDiagnostico;
 
38
                ComandoCarga*                   Padre;
 
39
 
 
40
        };
 
41
 
 
42
        class ComandoCarga : public GNC::GCS::IComando {
 
43
        public:
 
44
 
 
45
                ComandoCarga(ComandoCargaParams* pParams);
 
46
 
 
47
    protected:
 
48
 
 
49
                virtual void Execute();
 
50
                virtual void Update();
 
51
 
 
52
        protected:
 
53
 
 
54
                ComandoCargaParams* CargaParams;
 
55
                std::string         Error;
 
56
 
 
57
        };
 
58
}