~ubuntu-branches/ubuntu/raring/ginkgocadx/raring-proposed

« back to all changes in this revision

Viewing changes to src/cadxcore/api/iherramienta.h

  • Committer: Package Import Robot
  • Author(s): Andreas Tille
  • Date: 2011-09-09 08:39:26 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: package-import@ubuntu.com-20110909083926-iktecd132cnku5cd
Tags: 2.5.4.0~rc-1
New upstream version (patches were applied)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *  
3
 
 *  $Id: iherramienta.h 3526 2011-03-16 19:56:19Z carlos $
 
3
 *  $Id: iherramienta.h 4051 2011-08-01 09:41:38Z tovar $
4
4
 *  Ginkgo CADx Project
5
5
 *
6
6
 *  Copyright 2008-10 MetaEmotion S.L. All rights reserved.
105
105
 
106
106
                        typedef unsigned int UID;
107
107
 
108
 
                        IHerramienta(const IHerramienta::UID& uid, const IHerramienta::TFamiliasHerramientas& uidFamilia, const std::string& nombre = "", const int subFamilia = 0xFFFFFFFF, const int& prioridad = 0, bool isMenu = false);
 
108
                        IHerramienta(const IHerramienta::UID& uid, const IHerramienta::TFamiliasHerramientas& uidFamilia, const std::string& nombre = "", const int subFamilia = 0xFFFFFFFF, const int& prioridad = 0, bool isMenu = false, int accelerator = -1);
109
109
 
110
110
                        ~IHerramienta();
111
111
 
198
198
                        virtual wxMenu* GetMenu(wxWindow* /*pParent*/) {
199
199
                                return NULL;
200
200
                        }
 
201
 
 
202
                        virtual int GetAcceleratorCode()
 
203
                        {
 
204
                                return m_AcceleratorCode;
 
205
                        }
201
206
//endregion
202
207
 
203
208
                protected:
 
209
                        int m_AcceleratorCode;
204
210
                        wxAuiToolBar* m_pAbstractPanelHerramientaOpciones;
205
211
                        bool m_IsMenu;
206
212
                        wxBitmap m_Icono;