From d058b5f88099a87ff2091f08edafb73a67d8bf47 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Mon, 11 Apr 2005 18:01:39 +0000 Subject: [PATCH] Added TypeConstants.cpp that exports the constants of TypeConstants.h. Needed for binary compatibility. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12289 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/app/TypeConstants.cpp | 39 ++++++++++++++++++++++++++++++++++ src/kits/app/app.src | 1 + 2 files changed, 40 insertions(+) create mode 100644 src/kits/app/TypeConstants.cpp diff --git a/src/kits/app/TypeConstants.cpp b/src/kits/app/TypeConstants.cpp new file mode 100644 index 0000000000..0d2f14c6bb --- /dev/null +++ b/src/kits/app/TypeConstants.cpp @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------ +// Copyright (c) 2005, Haiku +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. +// +// File Name: TypeConstants.cpp +// Description: These type constants are exported by libbe under R5. +// We need them for binary compatibility. +// See . +//------------------------------------------------------------------------------ + +const char *B_URL_HTTP = "application/x-vnd.Be.URL.http"; +const char *B_URL_HTTPS = "application/x-vnd.Be.URL.https"; +const char *B_URL_FTP = "application/x-vnd.Be.URL.ftp"; +const char *B_URL_GOPHER = "application/x-vnd.Be.URL.gopher"; +const char *B_URL_MAILTO = "application/x-vnd.Be.URL.mailto"; +const char *B_URL_NEWS = "application/x-vnd.Be.URL.news"; +const char *B_URL_NNTP = "application/x-vnd.Be.URL.nntp"; +const char *B_URL_TELNET = "application/x-vnd.Be.URL.telnet"; +const char *B_URL_RLOGIN = "application/x-vnd.Be.URL.rlogin"; +const char *B_URL_TN3270 = "application/x-vnd.Be.URL.tn3270"; +const char *B_URL_WAIS = "application/x-vnd.Be.URL.wais"; +const char *B_URL_FILE = "application/x-vnd.Be.URL.file"; diff --git a/src/kits/app/app.src b/src/kits/app/app.src index 8c3626dfd3..6d87553057 100644 --- a/src/kits/app/app.src +++ b/src/kits/app/app.src @@ -31,4 +31,5 @@ APP_KIT_SOURCE = RosterPrivate.cpp ServerMemIO.cpp TokenSpace.cpp + TypeConstants.cpp ;