adium: add "don't publish calendar" to account UI
[siplcs.git] / src / adium / ESPurpleSIPEAccount.h
blob6c9c2700c9e43fb4e500f71052b9d64f4bce4450
1 //
2 // ESSIPEAccount.h
3 // SIPEAdiumPlugin
4 //
5 // Created by Matt Meissner on 10/30/09.
6 // Modified by Michael Lamb on 2/27/13
7 // Copyright 2013 Michael Lamb/Harris Kauffman. All rights reserved.
8 //
10 #import <AdiumLibpurple/CBPurpleAccount.h>
12 #define KEY_SIPE_WINDOWS_LOGIN @"SIPE:Windows Login"
13 #define KEY_SIPE_CONNECT_HOST @"SIPE:Connect Host"
14 #define KEY_SIPE_PASSWORD @"SIPE:Password" // TODO: Do we need to keep this key? PurpleAccount should store this for us
15 #define KEY_SIPE_CONNECTION_TYPE @"SIPE:Connection Type"
16 #define KEY_SIPE_EMAIL @"SIPE:Email"
17 #define KEY_SIPE_EMAIL_LOGIN @"SIPE:Email Login"
18 #define KEY_SIPE_EMAIL_URL @"SIPE:Email URL"
19 #define KEY_SIPE_EMAIL_PASSWORD @"SIPE:Email Password"
20 #define KEY_SIPE_GROUP_CHAT_PROXY @"SIPE:Group Chat Proxy"
21 #define KEY_SIPE_USER_AGENT @"SIPE:User Agent"
22 #define KEY_SIPE_SINGLE_SIGN_ON @"SIPE:Single Sign On"
23 #define KEY_SIPE_DONT_PUBLISH @"SIPE:Dont Publish"
24 #define KEY_SIPE_AUTH_SCHEME @"SIPE:Authentication Scheme"
25 #define KEY_SIPE_AUTODISCOVER @"SIPE:Autodiscover"
28 // TODO: Remove when sipe_status_activity_to_token calls work
29 #define SIPE_ACTIVITY_NUM_TYPES 17
30 static struct
32 const gchar *status_id;
33 const gchar *desc;
34 } const sipe_activity_map[SIPE_ACTIVITY_NUM_TYPES] = {
35 /* SIPE_ACTIVITY_UNSET */ { "unset", NULL },
36 /* SIPE_ACTIVITY_AVAILABLE */ { "available", NULL },
37 /* SIPE_ACTIVITY_ONLINE */ { "online", NULL },
38 /* SIPE_ACTIVITY_INACTIVE */ { "idle", N_("Inactive") },
39 /* SIPE_ACTIVITY_BUSY */ { "busy", N_("Busy") },
40 /* SIPE_ACTIVITY_BUSYIDLE */ { "busyidle", N_("Busy-Idle") },
41 /* SIPE_ACTIVITY_DND */ { "do-not-disturb", NULL },
42 /* SIPE_ACTIVITY_BRB */ { "be-right-back", N_("Be right back") },
43 /* SIPE_ACTIVITY_AWAY */ { "away", NULL },
44 /* SIPE_ACTIVITY_LUNCH */ { "out-to-lunch", N_("Out to lunch") },
45 /* SIPE_ACTIVITY_INVISIBLE */ { "invisible", NULL },
46 /* SIPE_ACTIVITY_OFFLINE */ { "offline", NULL },
47 /* SIPE_ACTIVITY_ON_PHONE */ { "on-the-phone", N_("In a call") },
48 /* SIPE_ACTIVITY_IN_CONF */ { "in-a-conference", N_("In a conference") },
49 /* SIPE_ACTIVITY_IN_MEETING */ { "in-a-meeting", N_("In a meeting") },
50 /* SIPE_ACTIVITY_OOF */ { "out-of-office", N_("Out of office") },
51 /* SIPE_ACTIVITY_URGENT_ONLY */ { "urgent-interruptions-only", N_("Urgent interruptions only") },
55 @interface ESPurpleSIPEAccount : CBPurpleAccount <AIAccount_Files> {
58 @end