From 8ab6014eb3bc46d2e04c22b27d195e0172d48baf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Mon, 27 Jul 2009 16:24:56 +0000 Subject: [PATCH] Added Security Interface git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6645 383ad7c9-94d9-4d36-a494-682f7c89f535 --- BasePlugin/SecurityInterface.hh | 67 +++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 BasePlugin/SecurityInterface.hh diff --git a/BasePlugin/SecurityInterface.hh b/BasePlugin/SecurityInterface.hh new file mode 100644 index 00000000..3d72a276 --- /dev/null +++ b/BasePlugin/SecurityInterface.hh @@ -0,0 +1,67 @@ +//============================================================================= +// +// OpenFlipper +// Copyright (C) 2008 by Computer Graphics Group, RWTH Aachen +// www.openflipper.org +// +//----------------------------------------------------------------------------- +// +// License +// +// OpenFlipper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// OpenFlipper is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with OpenFlipper. If not, see . +// +//----------------------------------------------------------------------------- +// +// $Revision: 4736 $ +// $Author: kremer $ +// $Date: 2009-02-10 11:34:14 +0100 (Di, 10. Feb 2009) $ +// +//============================================================================= + + + + +// +// C++ Interface: SecurityInterface +// +// Description: +// +// +// Author: Jan Moebius , (C) 2007 +// + +#ifndef SECURITYINTERFACE_HH +#define SECURITYINTERFACE_HH + +#include +#include + +class SecurityInterface { + + public: + + virtual ~SecurityInterface(){}; + SecurityInterface(){}; + + public slots: + bool authenticate(); + + private : + bool authenticated(); + +}; + +Q_DECLARE_INTERFACE(SecurityInterface,"OpenFlipper.SecurityInterface/0.1") + +#endif // SECURITYINTERFACE_HH -- GitLab