mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +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
|