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

« back to all changes in this revision

Viewing changes to src/cadxcore/commands/commandsynchronizewithgui.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: commandsynchronizewithgui.h 3655 2011-04-06 12:26:00Z tovar $
 
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
//#define _GINKGO_TRACE
 
15
#include <api/api.h>
 
16
#include <api/globals.h>
 
17
#include <api/icomando.h>
 
18
#include <api/ientorno.h>
 
19
#include <api/icontroladoreventos.h>
 
20
#include <api/imodelointegracion.h>
 
21
 
 
22
namespace GADAPI {
 
23
        class EXTAPI ISynchronizedWithGUI
 
24
        {
 
25
        public:
 
26
                virtual void ExecuteSynchronized() = 0;
 
27
        };
 
28
 
 
29
        class EXTAPI CommandSynchronizeWithGUI : public GNC::GCS::IComando {
 
30
        public:
 
31
                CommandSynchronizeWithGUI(ISynchronizedWithGUI* pParam);
 
32
 
 
33
         protected:
 
34
                virtual void Execute();
 
35
                virtual void Update();;
 
36
 
 
37
        protected:
 
38
                ISynchronizedWithGUI* m_pListener;
 
39
        };
 
40
}