ImageViewer: De-pimpl two internal classes

Change-Id: I3302463157f757fbb5190f25052fad1506d10612
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
hjk
2014-02-24 18:29:27 +01:00
parent d967b6413f
commit c17cd92073
5 changed files with 19 additions and 46 deletions

View File

@@ -31,6 +31,8 @@
#ifndef IMAGEVIEWERFACTORY_H
#define IMAGEVIEWERFACTORY_H
#include "imagevieweractionhandler.h"
#include <coreplugin/editormanager/ieditorfactory.h>
#include <coreplugin/editormanager/ieditor.h>
#include <coreplugin/idocument.h>
@@ -38,19 +40,20 @@
namespace ImageViewer {
namespace Internal {
class ImageViewerActionHandler;
class ImageViewerFactory : public Core::IEditorFactory
{
Q_OBJECT
public:
explicit ImageViewerFactory(QObject *parent = 0);
~ImageViewerFactory();
Core::IEditor *createEditor();
void extensionsInitialized();
private:
struct ImageViewerFactoryPrivate *d;
ImageViewerActionHandler m_actionHandler;
};
} // namespace Internal