1 /* vi: set et sw=4 ts=8 cino=t0,(0: */ 2 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4; tab-width: 8 -*- */ 3 /* 4 * This file is part of mission-control 5 * 6 * Copyright (C) 2007-2009 Nokia Corporation. 7 * Copyright (C) 2009 Collabora Ltd. 8 * 9 * Contact: Naba Kumar <naba.kumar@nokia.com> 10 * 11 * This library is free software; you can redistribute it and/or 12 * modify it under the terms of the GNU Lesser General Public License 13 * version 2.1 as published by the Free Software Foundation. 14 * 15 * This library is distributed in the hope that it will be useful, but 16 * WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 * Lesser General Public License for more details. 19 * 20 * You should have received a copy of the GNU Lesser General Public 21 * License along with this library; if not, write to the Free Software 22 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 23 * 02110-1301 USA 24 * 25 */ 26 27 #ifndef __MCD_ACCOUNT_CONFIG_H__ 28 #define __MCD_ACCOUNT_CONFIG_H__ 29 30 #include <telepathy-glib/telepathy-glib-dbus.h> 31 32 /* If you add new storable attributes you must also update 33 * known_attributes in mcd-storage.c. */ 34 35 /* string, 's' */ 36 #define MC_ACCOUNTS_KEY_MANAGER "manager" 37 #define MC_ACCOUNTS_KEY_PROTOCOL "protocol" 38 #define MC_ACCOUNTS_KEY_DISPLAY_NAME "DisplayName" 39 #define MC_ACCOUNTS_KEY_NORMALIZED_NAME "NormalizedName" 40 #define MC_ACCOUNTS_KEY_AVATAR_TOKEN "avatar_token" 41 #define MC_ACCOUNTS_KEY_AVATAR_MIME "AvatarMime" 42 #define MC_ACCOUNTS_KEY_AUTOMATIC_PRESENCE "AutomaticPresence" 43 /* next two are obsoleted by MC_ACCOUNTS_KEY_AUTOMATIC_PRESENCE */ 44 #define MC_ACCOUNTS_KEY_AUTO_PRESENCE_STATUS "AutomaticPresenceStatus" 45 #define MC_ACCOUNTS_KEY_AUTO_PRESENCE_MESSAGE "AutomaticPresenceMessage" 46 #define MC_ACCOUNTS_KEY_ICON "Icon" 47 #define MC_ACCOUNTS_KEY_NICKNAME "Nickname" 48 #define MC_ACCOUNTS_KEY_SERVICE "Service" 49 /* ... also "condition-*" reserved by mcd-account-conditions.c */ 50 51 /* unsigned 32-bit integer, 'u' */ 52 /* obsoleted by MC_ACCOUNTS_KEY_AUTOMATIC_PRESENCE */ 53 #define MC_ACCOUNTS_KEY_AUTO_PRESENCE_TYPE "AutomaticPresenceType" 54 55 /* boolean, 'b' */ 56 #define MC_ACCOUNTS_KEY_ALWAYS_DISPATCH "always_dispatch" 57 #define MC_ACCOUNTS_KEY_CONNECT_AUTOMATICALLY "ConnectAutomatically" 58 #define MC_ACCOUNTS_KEY_ENABLED "Enabled" 59 #define MC_ACCOUNTS_KEY_HAS_BEEN_ONLINE "HasBeenOnline" 60 #define MC_ACCOUNTS_KEY_HIDDEN "Hidden" 61 62 /* string array, 'as' */ 63 #define MC_ACCOUNTS_KEY_URI_SCHEMES \ 64 TP_IFACE_ACCOUNT_INTERFACE_ADDRESSING ".URISchemes" 65 66 /* object path array, 'ao' */ 67 #define MC_ACCOUNTS_KEY_SUPERSEDES "Supersedes" 68 69 /* things that previously existed, so they should now be considered 70 * to be reserved */ 71 #define PRESETS_GROUP "Presets" 72 #define PRESETS_GROUP_DEFAULTS "Defaults" 73 #define MC_OLD_ACCOUNTS_KEY_AVATAR_ID "avatar_id" 74 #define MC_OLD_ACCOUNTS_KEY_DATA_DIR "data_dir" 75 #define MC_OLD_ACCOUNTS_KEY_DELETED "deleted" 76 #define MC_OLD_ACCOUNTS_KEY_GROUPS "groups" 77 #define MC_OLD_ACCOUNTS_KEY_ICON_NAME "icon_name" 78 #define MC_OLD_ACCOUNTS_KEY_PRESETS "presets" 79 #define MC_OLD_ACCOUNTS_KEY_PROFILE "profile" 80 #define MC_OLD_ACCOUNTS_KEY_SECONDARY_VCARD_FIELDS "secondary_vcard_fields" 81 82 #endif /* __MCD_ACCOUNT_CONFIG_H__ */ 83