Changeset View
Changeset View
Standalone View
Standalone View
utils/okteta/oktetatoolviewfactory.cpp
Show All 19 Lines | 1 | /* | |||
---|---|---|---|---|---|
20 | License along with this library. If not, see <http://www.gnu.org/licenses/>. | 20 | License along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
21 | */ | 21 | */ | ||
22 | 22 | | |||
23 | #include "oktetatoolviewfactory.h" | 23 | #include "oktetatoolviewfactory.h" | ||
24 | 24 | | |||
25 | // plugin | 25 | // plugin | ||
26 | #include "kastentoolviewwidget.h" | 26 | #include "kastentoolviewwidget.h" | ||
27 | // Kasten | 27 | // Kasten | ||
28 | #if KASTEN_VERSION == 2 | | |||
29 | #include <Kasten2/AbstractToolViewFactory> | | |||
30 | #include <Kasten2/AbstractToolFactory> | | |||
31 | #include <Kasten2/AbstractToolView> | | |||
32 | #elif KASTEN_VERSION == 1 | | |||
33 | #include <Kasten1/AbstractToolViewFactory> | | |||
34 | #include <Kasten1/AbstractToolFactory> | | |||
35 | #include <Kasten1/AbstractToolView> | | |||
36 | #else | | |||
37 | #include <Kasten/AbstractToolViewFactory> | 28 | #include <Kasten/AbstractToolViewFactory> | ||
38 | #include <Kasten/AbstractToolFactory> | 29 | #include <Kasten/AbstractToolFactory> | ||
39 | #include <Kasten/AbstractToolView> | 30 | #include <Kasten/AbstractToolView> | ||
40 | #endif | | |||
41 | 31 | | |||
42 | #include <QIcon> | 32 | #include <QIcon> | ||
43 | 33 | | |||
44 | namespace KDevelop | 34 | namespace KDevelop | ||
45 | { | 35 | { | ||
46 | 36 | | |||
47 | OktetaToolViewFactory::OktetaToolViewFactory( Kasten::AbstractToolViewFactory* toolViewFactory, | 37 | OktetaToolViewFactory::OktetaToolViewFactory( Kasten::AbstractToolViewFactory* toolViewFactory, | ||
48 | Kasten::AbstractToolFactory* toolFactory ) | 38 | Kasten::AbstractToolFactory* toolFactory ) | ||
Show All 33 Lines |