inneractiveplugin.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. *
  3. * inneractiveplugin.h
  4. * © Copyrights 2012 inneractive LTD, Nokia. All rights reserved
  5. *
  6. * This file is part of inneractiveAdQML.
  7. *
  8. * inneractiveAdQML is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * inneractiveAdQML is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with inneractiveAdQML. If not, see <http://www.gnu.org/licenses/>.
  20. */
  21. #ifndef INNERACTIVEPLUGIN_H
  22. #define INNERACTIVEPLUGIN_H
  23. class QDeclarativeEngine;
  24. /*!
  25. * \brief The inneractivePlugin class
  26. */
  27. class inneractivePlugin
  28. {
  29. public:
  30. /*!
  31. * \brief initializeEngine
  32. *Initializes QDeclarativeEngine to use inneractive QML components.
  33. *AdInterface object will be registered as context property with name "adInterface"
  34. * \param engine QDeclarativeEngine where AdInterface will be registered
  35. */
  36. static void initializeEngine(QDeclarativeEngine *engine);
  37. };
  38. #endif // INNERACTIVEPLUGIN_H