X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FCAM%2FCAM_Application.h;h=d25f4d4c25bec30afcbcc1d523bcec5244297b77;hb=257308ab92a2ecccb38294bf15b690580d6cbebc;hp=546781b97f6e87738db0ae5b0477cd283f762c91;hpb=5ab4e9f868874916c91b51f12aa8beacf09f4125;p=modules%2Fgui.git diff --git a/src/CAM/CAM_Application.h b/src/CAM/CAM_Application.h index 546781b97..d25f4d4c2 100755 --- a/src/CAM/CAM_Application.h +++ b/src/CAM/CAM_Application.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -6,7 +6,7 @@ // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -64,6 +64,11 @@ public: virtual bool activateModule( const QString& ); + bool activateOperation( const QString& modName, int actionId ); + bool activateOperation( const QString& modName, const QString& actionId ); + bool activateOperation( const QString& modName, const QString& actionId, + const QString& pluginName ); + virtual void contextMenuPopup( const QString&, QMenu*, QString& ); static QString moduleName( const QString& );