1 | /* $Id: VBoxTray.rdef 106061 2024-09-16 14:03:52Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBoxApp - Resource definition file containing version info and icon, Haiku Guest Additions.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2012-2024 Oracle and/or its affiliates.
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox base platform packages, as
|
---|
10 | * available from https://www.virtualbox.org.
|
---|
11 | *
|
---|
12 | * This program is free software; you can redistribute it and/or
|
---|
13 | * modify it under the terms of the GNU General Public License
|
---|
14 | * as published by the Free Software Foundation, in version 3 of the
|
---|
15 | * License.
|
---|
16 | *
|
---|
17 | * This program is distributed in the hope that it will be useful, but
|
---|
18 | * WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | * General Public License for more details.
|
---|
21 | *
|
---|
22 | * You should have received a copy of the GNU General Public License
|
---|
23 | * along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | *
|
---|
25 | * SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | *-----------------------------------------------------------------------------
|
---|
27 | *
|
---|
28 | * This code is based on:
|
---|
29 | *
|
---|
30 | * VirtualBox Guest Additions for Haiku.
|
---|
31 | * Copyright (c) 2011 Mike Smith <mike@scgtrp.net>
|
---|
32 | * François Revol <revol@free.fr>
|
---|
33 | *
|
---|
34 | * Permission is hereby granted, free of charge, to any person
|
---|
35 | * obtaining a copy of this software and associated documentation
|
---|
36 | * files (the "Software"), to deal in the Software without
|
---|
37 | * restriction, including without limitation the rights to use,
|
---|
38 | * copy, modify, merge, publish, distribute, sublicense, and/or sell
|
---|
39 | * copies of the Software, and to permit persons to whom the
|
---|
40 | * Software is furnished to do so, subject to the following
|
---|
41 | * conditions:
|
---|
42 | *
|
---|
43 | * The above copyright notice and this permission notice shall be
|
---|
44 | * included in all copies or substantial portions of the Software.
|
---|
45 | *
|
---|
46 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
---|
47 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
---|
48 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
---|
49 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
---|
50 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
---|
51 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
---|
52 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
---|
53 | * OTHER DEALINGS IN THE SOFTWARE.
|
---|
54 | */
|
---|
55 |
|
---|
56 | #include "VBoxGuestInternal.h"
|
---|
57 |
|
---|
58 | resource(1, "BEOS:APP_SIG") #'MIMS' VBOX_GUEST_APP_SIG;
|
---|
59 |
|
---|
60 | resource app_flags B_SINGLE_LAUNCH;
|
---|
61 |
|
---|
62 | /* This is done for all binaries with VBOX_HAIKU_XRES_SETVER_CMDS
|
---|
63 | resource app_version {
|
---|
64 | major = VBOX_VERSION_MAJOR,
|
---|
65 | middle = VBOX_VERSION_MINOR,
|
---|
66 | minor = VBOX_VERSION_BUILD,
|
---|
67 |
|
---|
68 | variety = B_APPV_DEVELOPMENT,
|
---|
69 | internal = VBOX_SVN_REV,
|
---|
70 |
|
---|
71 | short_info = VBOX_PRODUCT,
|
---|
72 | long_info = VBOX_PRODUCT " " VBOX_VERSION_STRING " ©2009-" VBOX_C_YEAR " " VBOX_VENDOR
|
---|
73 | };
|
---|
74 | */
|
---|
75 |
|
---|
76 | /* Maybe one day ? */
|
---|
77 | //resource(1, "BEOS:FILE_TYPES") message {
|
---|
78 | // "types" = "application/x-vnd.Be.URL.vboxsf"
|
---|
79 | //};
|
---|
80 |
|
---|
81 | resource vector_icon {
|
---|
82 | $"6E636966060500020006023B55F13C5CD2BE755C3D78974A454E48FFCB000EB3"
|
---|
83 | $"B5FF003BFF020006023CD471BA2F923B0FF33DF6F048DA184417BB0000FBFFFF"
|
---|
84 | $"0000FF020006023C318B3A487CBD09B43EEB2D4B485C48176F0000AAFFFF0537"
|
---|
85 | $"C704016D05FF070A062231224E3E5C5248522D37260A042231224E3E5C3E3A0A"
|
---|
86 | $"0422313E3A522D37260A043E5C5248522D3E3A0A043E5E4E5E60485444080835"
|
---|
87 | $"3A393B3C4442384441493A4B444F460A04352E503750533547060A040104000A"
|
---|
88 | $"0001001001178400040A010101000A020102000A030103000A05020506123F45"
|
---|
89 | $"D10000000000003F45D1C70BA246F45D0117820004"
|
---|
90 | };
|
---|
91 |
|
---|
92 | resource(400, "DeskbarShelfIcon.png") #'data' import VBOX_HAIKU_DESKBAR_ICON_PNG;
|
---|
93 |
|
---|