libsolidcontrol
authentication.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef SOLID_IFACES_AUTHENTICATION_H
00021 #define SOLID_IFACES_AUTHENTICATION_H
00022
00023 #include <QtCore/QObject>
00024 #include <QtCore/QMap>
00025 #include <QtCore/QString>
00026
00027 #include <solid/control/solid_control_export.h>
00028
00029 namespace Solid
00030 {
00031 namespace Control
00032 {
00033 class Authentication;
00034
00035 namespace Ifaces
00036 {
00042 class SOLIDCONTROLIFACES_EXPORT AuthenticationValidator
00043 {
00044 public:
00045 virtual ~AuthenticationValidator();
00050 virtual bool validate(const Authentication *) = 0;
00051 };
00052 }
00053 }
00054 }
00055
00056 Q_DECLARE_INTERFACE(Solid::Control::Ifaces::AuthenticationValidator, "org.kde.Solid.Control.Ifaces.AuthenticationValidator/0.1")
00057
00058 #endif