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.

ovdCFilenameSettingView.h 720B

1234567891011121314151617181920212223242526272829303132
  1. #pragma once
  2. #include "../ovd_base.h"
  3. #include "ovdCAbstractSettingView.h"
  4. namespace OpenViBE {
  5. namespace Designer {
  6. namespace Setting {
  7. class CFilenameSettingView final : public CAbstractSettingView
  8. {
  9. public:
  10. CFilenameSettingView(Kernel::IBox& box, const size_t index, CString& builderName, const Kernel::IKernelContext& ctx);
  11. void getValue(CString& value) const override;
  12. void setValue(const CString& value) override;
  13. void browse() const;
  14. void onChange();
  15. #if defined TARGET_OS_Windows
  16. void onFocusLost();
  17. #endif
  18. private:
  19. GtkEntry* m_entry = nullptr;
  20. const Kernel::IKernelContext& m_kernelCtx;
  21. bool m_onValueSetting = false;
  22. };
  23. } // namespace Setting
  24. } // namespace Designer
  25. } // namespace OpenViBE