File: common.h

package info (click to toggle)
neovim-qt 0.2.19-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,808 kB
  • sloc: cpp: 45,441; python: 234; makefile: 24; sh: 19; xml: 5
file content (11 lines) | stat: -rw-r--r-- 360 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include <QSignalSpy>
#include <QString>

/// Waits for the signal with timeout (default 2s). Works even for signals
/// that have already been fired. Returns false on timeout.
bool SPYWAIT(QSignalSpy& spy, int timeout = 2000) noexcept;

/// Returns the filesystem path to the neovim-qt runtime plugin.
QString GetRuntimeAbsolutePath() noexcept;