Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
berryIEditorMatchingStrategy.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef BERRYIEDITORMATCHINGSTRATEGY_H_
14 #define BERRYIEDITORMATCHINGSTRATEGY_H_
15 
16 #include <berryMacros.h>
17 
18 #include "berryIEditorReference.h"
19 #include "berryIEditorInput.h"
20 
21 namespace berry {
22 
33 {
34 
36 
38 
53  virtual bool Matches(IEditorReference::Pointer editorRef, IEditorInput::Pointer input) = 0;
54 
55 };
56 
57 }
58 
59 Q_DECLARE_INTERFACE(berry::IEditorMatchingStrategy, "org.blueberry.ui.IEditorMatchingStrategy")
60 
61 #endif /*BERRYIEDITORMATCHINGSTRATEGY_H_*/
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:73
Implements transparent reference counting.
#define BERRY_UI_QT
berryObjectMacro(berry::IEditorMatchingStrategy)
virtual bool Matches(IEditorReference::Pointer editorRef, IEditorInput::Pointer input)=0