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

« back to all changes in this revision

Viewing changes to src/cadxcore/commands/commandsynchronizewithgui.cpp

  • 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.cpp 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
//#define _GINKGO_TRACE
 
14
//#define DUMP_IMAGENES
 
15
#include <api/globals.h>
 
16
#include "commandsynchronizewithgui.h"
 
17
#include <main/controllers/controladoreventos.h>
 
18
#include <eventos/eventosginkgo.h>
 
19
 
 
20
#define IDC_COMANDO_SYNCHRONIZE_WITH_GUI           116
 
21
 
 
22
// Singleton de persistencia
 
23
namespace GADAPI {
 
24
        CommandSynchronizeWithGUI::CommandSynchronizeWithGUI(ISynchronizedWithGUI* pParams):IComando(NULL)
 
25
        {
 
26
                SetId(IDC_COMANDO_SYNCHRONIZE_WITH_GUI);
 
27
                m_pListener = pParams;
 
28
        }
 
29
 
 
30
        void CommandSynchronizeWithGUI::Execute()
 
31
        {
 
32
        }
 
33
 
 
34
        void CommandSynchronizeWithGUI::Update()
 
35
        {
 
36
                m_pListener->ExecuteSynchronized();
 
37
        }
 
38
 
 
39
}
 
40
 
 
41