Commit 2330ad75 authored by Jan Möbius's avatar Jan Möbius

License Manager changes. Global flag now controls if the license managers get enabled.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11469 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 5d1921c5
......@@ -45,18 +45,19 @@
#include <OpenFlipper/BasePlugin/SecurityInterface.hh>
/* The salt file has to be provided for each plugin. It can be the same
for all plugins. See example for details on how this file has to be setup
*/
#include "salt.hh"
/** \file LicenseManager.hh
*
* This interface is used to add copy protection to plugins. \ref securityInterfacePage
*
*/
#ifdef WITH_LICENSE_MANAGER
/* The salt file has to be provided for each plugin. It can be the same
for all plugins. See example for details on how this file has to be setup
*/
#include "salt.hh"
/** \brief License management base class
*
* See \ref securityInterfacePage for Details on how to use it.
......@@ -127,4 +128,14 @@ Q_INTERFACES(SecurityInterface)
};
#else
class LicenseManager : public QObject {
Q_OBJECT
};
#endif
#endif // LICENSEMANAGER_HH
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment