1 //******************************************************************************
2 //  Copyright (c) 2005-2013 by Jan Van hijfte
3 //
4 //  See the included file COPYING.TXT for details about the copyright.
5 //
6 //  This program is distributed in the hope that it will be useful,
7 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
8 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9 //******************************************************************************
10 
11 
12 #ifndef QSYSTEMTRAYICON_C_H
13 #define QSYSTEMTRAYICON_C_H
14 
15 #include <QtWidgets>
16 #include "pascalbind.h"
17 
18 C_EXPORT QSystemTrayIconH QSystemTrayIcon_Create(QObjectH parent);
19 C_EXPORT void QSystemTrayIcon_Destroy(QSystemTrayIconH handle);
20 C_EXPORT QSystemTrayIconH QSystemTrayIcon_Create2(const QIconH icon, QObjectH parent);
21 C_EXPORT void QSystemTrayIcon_setContextMenu(QSystemTrayIconH handle, QMenuH menu);
22 C_EXPORT QMenuH QSystemTrayIcon_contextMenu(QSystemTrayIconH handle);
23 C_EXPORT void QSystemTrayIcon_icon(QSystemTrayIconH handle, QIconH retval);
24 C_EXPORT void QSystemTrayIcon_setIcon(QSystemTrayIconH handle, const QIconH icon);
25 C_EXPORT void QSystemTrayIcon_toolTip(QSystemTrayIconH handle, PWideString retval);
26 C_EXPORT void QSystemTrayIcon_setToolTip(QSystemTrayIconH handle, PWideString tip);
27 C_EXPORT bool QSystemTrayIcon_isSystemTrayAvailable();
28 C_EXPORT bool QSystemTrayIcon_supportsMessages();
29 C_EXPORT void QSystemTrayIcon_showMessage(QSystemTrayIconH handle, PWideString title, PWideString msg, QSystemTrayIcon::MessageIcon icon, int msecs);
30 C_EXPORT void QSystemTrayIcon_geometry(QSystemTrayIconH handle, PRect retval);
31 C_EXPORT bool QSystemTrayIcon_isVisible(QSystemTrayIconH handle);
32 C_EXPORT void QSystemTrayIcon_setVisible(QSystemTrayIconH handle, bool visible);
33 C_EXPORT void QSystemTrayIcon_show(QSystemTrayIconH handle);
34 C_EXPORT void QSystemTrayIcon_hide(QSystemTrayIconH handle);
35 
36 #endif
37