You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ovdCAboutPluginDialog.h 875B

12345678910111213141516171819202122232425262728293031
  1. #pragma once
  2. #include "ovd_base.h"
  3. namespace OpenViBE {
  4. namespace Designer {
  5. class CAboutPluginDialog final
  6. {
  7. public:
  8. CAboutPluginDialog(const Kernel::IKernelContext& ctx, const CIdentifier& pluginClassID, const char* guiFilename)
  9. : m_kernelCtx(ctx), m_pluginClassID(pluginClassID), m_guiFilename(guiFilename) { }
  10. CAboutPluginDialog(const Kernel::IKernelContext& ctx, const Plugins::IPluginObjectDesc* pod, const char* guiFilename)
  11. : m_kernelCtx(ctx), m_pluginClassID(CIdentifier::undefined()), m_guiFilename(guiFilename), m_pods(pod) { }
  12. ~CAboutPluginDialog() = default;
  13. bool run();
  14. protected:
  15. const Kernel::IKernelContext& m_kernelCtx;
  16. CIdentifier m_pluginClassID = CIdentifier::undefined();
  17. CString m_guiFilename;
  18. const Plugins::IPluginObjectDesc* m_pods = nullptr;
  19. CAboutPluginDialog() = delete;
  20. };
  21. } // namespace Designer
  22. } // namespace OpenViBE