Diffstat (limited to 'libopie2/opiesecurity/multiauthplugininterface.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiesecurity/multiauthplugininterface.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libopie2/opiesecurity/multiauthplugininterface.h b/libopie2/opiesecurity/multiauthplugininterface.h index 0035107..5998a18 100644 --- a/libopie2/opiesecurity/multiauthplugininterface.h +++ b/libopie2/opiesecurity/multiauthplugininterface.h @@ -22,48 +22,51 @@ =_ + =;=|` MERCHANTABILITY or FITNESS FOR A _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU ..}^=.= = ; Library General Public License for more ++= -. .` .: details. : = ...= . :.=- -. .:....=;==+<; You should have received a copy of the GNU -_. . . )=. = Library General Public License along with -- :-=` this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef MULTIAUTH_PLUGIN_INTERFACE #define MULTIAUTH_PLUGIN_INTERFACE #include <qpe/qcom.h> #include "multiauthconfigwidget.h" class QString; class QWidget; +namespace Opie { +namespace Security { + #ifndef IID_MultiauthPluginInterface /// Universally Unique Id of the interface (required by QCOM): /// {AD5BE8B1-8421-447b-9AED-250BE1CDA49c} #define IID_MultiauthPluginInterface QUuid(0xad5be8b1, 0x8421, 0x447b, 0x9a, 0xed, 0x25, 0x0b, 0xe1, 0xcd, 0xa4, 0x9c) #endif /// Base class for Opie multiauth plugins /** * A MultiauthPluginObject is the base for all Multiauth Plugins. * A plugin author needs to inherit this class and implement * the pure virtual methods. * * \author Clement Seveillac (helped by Maximilian Reiß's Today framework) */ class MultiauthPluginObject { public: virtual ~MultiauthPluginObject() {}; /// The name of the plugin /* * \return The plugin should return its name here */ @@ -85,25 +88,28 @@ class MultiauthPluginObject { * \return path to the image file (without the extension) * from $OPIEDIR/pics */ virtual QString pixmapNameConfig() const = 0; /// Plugin icon, to be displayed in the plugin list configuration widget /** * \return path to the image file (without the extension) * from $OPIEDIR/pics */ virtual QString pixmapNameWidget() const = 0; }; /// Interface for multiauth plugin classes. /* * This is part of the QCOM works. See example plugins how to do it right. * \see http://doc.trolltech.com/qtopia/html/pluginintro.html */ struct MultiauthPluginInterface : public QUnknownInterface { /// return the MultiauthPluginObject implementation virtual MultiauthPluginObject *plugin() = 0; }; +} +} + #endif |