1
/* $Id: DockIconPreview.h $ */
4
* VBox frontends: Qt GUI ("VirtualBox"):
5
* VBoxDockIconPreview class declaration
9
* Copyright (C) 2009 Sun Microsystems, Inc.
11
* This file is part of VirtualBox Open Source Edition (OSE), as
12
* available from http://www.virtualbox.org. This file is free software;
13
* you can redistribute it and/or modify it under the terms of the GNU
14
* General Public License (GPL) as published by the Free Software
15
* Foundation, in version 2 as it comes in the "COPYING" file of the
16
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
17
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
19
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
20
* Clara, CA 95054 USA or visit http://www.sun.com if you need
21
* additional information or have any questions.
24
#ifndef ___VBoxDockIconPreview_h___
25
#define ___VBoxDockIconPreview_h___
27
#ifdef QT_MAC_USE_COCOA
29
#include "CocoaDockIconPreview.h"
30
class VBoxDockIconPreview: public CocoaDockIconPreview
33
VBoxDockIconPreview (VBoxConsoleWnd *aMainWnd, const QPixmap& aOverlayImage)
34
: CocoaDockIconPreview (aMainWnd, aOverlayImage) {}
37
#else /* QT_MAC_USE_COCOA */
39
#include "CarbonDockIconPreview.h"
40
class VBoxDockIconPreview: public CarbonDockIconPreview
43
VBoxDockIconPreview (VBoxConsoleWnd *aMainWnd, const QPixmap& aOverlayImage)
44
: CarbonDockIconPreview (aMainWnd, aOverlayImage) {}
47
#endif /* QT_MAC_USE_COCOA */
49
#endif /* !___VBoxDockIconPreview_h___ */