tests/auto/qpluginloader/theplugin/plugininterface.h
changeset 18 2f34d5167611
parent 0 1918ee327afb
equal deleted inserted replaced
3:41300fa6a67c 18:2f34d5167611
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the test suite of the Qt Toolkit.
     7 ** This file is part of the test suite of the Qt Toolkit.
     8 **
     8 **
    43 
    43 
    44 struct PluginInterface {
    44 struct PluginInterface {
    45     virtual ~PluginInterface() {}
    45     virtual ~PluginInterface() {}
    46     virtual QString pluginName() const = 0;
    46     virtual QString pluginName() const = 0;
    47 };
    47 };
       
    48 
       
    49 QT_BEGIN_NAMESPACE
    48 Q_DECLARE_INTERFACE(PluginInterface, "com.trolltect.autotests.plugininterface/1.0")
    50 Q_DECLARE_INTERFACE(PluginInterface, "com.trolltect.autotests.plugininterface/1.0")
       
    51 QT_END_NAMESPACE
    49 
    52 
    50 #endif // PLUGININTERFACE_H
    53 #endif // PLUGININTERFACE_H
    51 
    54