Home · All Classes · All Namespaces · Modules · Functions · Files

constants.h

00001 /*
00002  * This file is part of TelepathyQt4
00003  *
00004  * Copyright (C) 2008 Collabora Ltd. <http://www.collabora.co.uk/>
00005  * Copyright (C) 2008 Nokia Corporation
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2.1 of the License, or (at your option) any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00020  */
00021 
00022 #ifndef _TelepathyQt4_constants_h_HEADER_GUARD_
00023 #define _TelepathyQt4_constants_h_HEADER_GUARD_
00024 
00025 #ifndef IN_TELEPATHY_QT4_HEADER
00026 #error IN_TELEPATHY_QT4_HEADER
00027 #endif
00028 
00048 #define TELEPATHY_CONNECTION_MANAGER_BUS_NAME_BASE "org.freedesktop.Telepathy.ConnectionManager."
00049 
00054 #define TP_QT4_CONNECTION_MANAGER_BUS_NAME_BASE QLatin1String("org.freedesktop.Telepathy.ConnectionManager.")
00055 
00060 #define TELEPATHY_CONNECTION_MANAGER_OBJECT_PATH_BASE "/org/freedesktop/Telepathy/ConnectionManager/"
00061 
00066 #define TP_QT4_CONNECTION_MANAGER_OBJECT_PATH_BASE QLatin1String("/org/freedesktop/Telepathy/ConnectionManager/")
00067 
00073 #define TELEPATHY_CONNECTION_BUS_NAME_BASE "org.freedesktop.Telepathy.Connection."
00074 
00080 #define TP_QT4_CONNECTION_BUS_NAME_BASE QLatin1String("org.freedesktop.Telepathy.Connection.")
00081 
00087 #define TELEPATHY_CONNECTION_OBJECT_PATH_BASE "/org/freedesktop/Telepathy/Connection/"
00088 
00094 #define TELEPATHY_ACCOUNT_MANAGER_BUS_NAME \
00095     "org.freedesktop.Telepathy.AccountManager"
00096 
00102 #define TP_QT4_ACCOUNT_MANAGER_BUS_NAME \
00103     (QLatin1String("org.freedesktop.Telepathy.AccountManager"))
00104 
00110 #define TELEPATHY_ACCOUNT_MANAGER_OBJECT_PATH \
00111     "/org/freedesktop/Telepathy/AccountManager"
00112 
00118 #define TP_QT4_ACCOUNT_MANAGER_OBJECT_PATH \
00119     (QLatin1String("/org/freedesktop/Telepathy/AccountManager"))
00120 
00128 #define TELEPATHY_ACCOUNT_OBJECT_PATH_BASE \
00129     "/org/freedesktop/Telepathy/Account"
00130 
00138 #define TP_QT4_ACCOUNT_OBJECT_PATH_BASE \
00139     (QLatin1String("/org/freedesktop/Telepathy/Account"))
00140 
00145 #include <TelepathyQt4/_gen/constants.h>
00146 
00159 #define TELEPATHY_DBUS_ERROR_NAME_HAS_NO_OWNER \
00160     "org.freedesktop.DBus.Error.NameHasNoOwner"
00161 
00174 #define TP_QT4_DBUS_ERROR_NAME_HAS_NO_OWNER \
00175     (QLatin1String("org.freedesktop.DBus.Error.NameHasNoOwner"))
00176 
00185 #define TELEPATHY_DBUS_ERROR_UNKNOWN_METHOD \
00186     "org.freedesktop.DBus.Error.UnknownMethod"
00187 
00196 #define TP_QT4_DBUS_ERROR_UNKNOWN_METHOD \
00197     (QLatin1String("org.freedesktop.DBus.Error.UnknownMethod"))
00198 
00204 #define TELEPATHY_QT4_ERROR_OBJECT_REMOVED \
00205     "org.freedesktop.Telepathy.Qt4.Error.ObjectRemoved"
00206 
00212 #define TP_QT4_ERROR_OBJECT_REMOVED \
00213     (QLatin1String("org.freedesktop.Telepathy.Qt4.Error.ObjectRemoved"))
00214 
00220 #define TELEPATHY_QT4_ERROR_INCONSISTENT \
00221     "org.freedesktop.Telepathy.Qt4.Error.Inconsistent"
00222 
00228 #define TP_QT4_ERROR_INCONSISTENT \
00229     (QLatin1String("org.freedesktop.Telepathy.Qt4.Error.Inconsistent"))
00230 
00239 #define TP_QT4_ERROR_ORPHANED \
00240     (QLatin1String("org.freedesktop.Telepathy.Qt4.Error.Orphaned"))
00241 
00242 #endif


Copyright © 2008-2010 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.5.6