mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00:00
24 lines
364 B
C++
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
|