goldendict-ng/lionsupport.h

24 lines
405 B
C
Raw Normal View History

#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);
2014-06-17 13:47:04 +00:00
//Check for retina display
static bool isRetinaDisplay();
};
#endif // LIONSUPPORT_H