contrib: cargo: use the 0.6.13 cargo-c version
[vlc.git] / modules / control / intromsg.h
blob5991f8c90d5a04ef1d9560ba41c27e7b1475afeb
1 /*****************************************************************************
2 * intromsg.h
3 *****************************************************************************
4 * Copyright (C) 1999-2015 VLC authors and VideoLAN
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
19 *****************************************************************************/
21 static inline void intf_consoleIntroMsg(intf_thread_t *p_intf)
23 if (getenv( "PWD" ) == NULL) /* detect Cygwin shell or Wine */
25 AllocConsole();
26 freopen("CONOUT$", "w", stdout);
27 freopen("CONOUT$", "w", stderr);
28 freopen("CONIN$", "r", stdin);
31 msg_rc("VLC media player - %s", VERSION_MESSAGE);
32 msg_rc("%s", COPYRIGHT_MESSAGE);
33 msg_rc(_("\nWarning: if you cannot access the GUI "
34 "anymore, open a command-line window, go to the "
35 "directory where you installed VLC and run "
36 "\"vlc -I qt\"\n"));