Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIEditorMatchingStrategy.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef BERRYIEDITORMATCHINGSTRATEGY_H_
18 #define BERRYIEDITORMATCHINGSTRATEGY_H_
19 
20 #include <berryMacros.h>
21 
22 #include "berryIEditorReference.h"
23 #include "berryIEditorInput.h"
24 
25 namespace berry {
26 
37 {
38 
40 
42 
57  virtual bool Matches(IEditorReference::Pointer editorRef, IEditorInput::Pointer input) = 0;
58 
59 };
60 
61 }
62 
63 Q_DECLARE_INTERFACE(berry::IEditorMatchingStrategy, "org.blueberry.ui.IEditorMatchingStrategy")
64 
65 #endif /*BERRYIEDITORMATCHINGSTRATEGY_H_*/
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
#define berryObjectMacro(...)
Definition: berryMacros.h:37
#define BERRY_UI_QT