mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 03:14:06 +00:00
21 lines
338 B
C
21 lines
338 B
C
|
#ifndef LIONSUPPORT_H
|
||
|
#define LIONSUPPORT_H
|
||
|
|
||
|
#include "mainwindow.hh"
|
||
|
|
||
|
class LionSupport
|
||
|
{
|
||
|
public:
|
||
|
/**
|
||
|
* Returns whether the current system is Lion.
|
||
|
*/
|
||
|
static bool isLion();
|
||
|
|
||
|
/**
|
||
|
* Adds fullscreen button to window for Lion.
|
||
|
*/
|
||
|
static void addFullscreen(MainWindow *window);
|
||
|
};
|
||
|
|
||
|
#endif // LIONSUPPORT_H
|