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

24 lines
364 B
C++

#ifndef __NCPP_UTILITIES_HH
#define __NCPP_UTILITIES_HH
#include <notcurses/notcurses.h>
#include "_helpers.hh"
namespace ncpp
{
class Plane;
class NCPP_API_EXPORT Utilities
{
public:
static ncplane* to_ncplane (const Plane *plane) noexcept;
static ncplane* to_ncplane (const Plane &plane) noexcept
{
return to_ncplane (&plane);
}
};
}
#endif