/
Constants.h
162 lines (147 loc) · 5.39 KB
/
Constants.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
//
// Constants.h
// Vienna
//
// Created by Steve on Sat Jan 24 2004.
// Copyright (c) 2004-2005 Steve Palmer. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
extern NSString * MA_DefaultStyleName;
extern NSString * MA_DefaultUserAgentString;
extern NSString * MAPref_ArticleListFont;
extern NSString * MAPref_AutoSortFoldersTree;
extern NSString * MAPref_CheckForUpdatedArticles;
extern NSString * MAPref_ShowUnreadArticlesInBold;
extern NSString * MAPref_FolderFont;
extern NSString * MAPref_CachedFolderID;
extern NSString * MAPref_DefaultDatabase;
extern NSString * MAPref_DownloadsFolder;
extern NSString * MAPref_SortColumn;
extern NSString * MAPref_CheckFrequency;
extern NSString * MAPref_ArticleListColumns;
extern NSString * MAPref_CheckForNewArticlesOnStartup;
extern NSString * MAPref_FolderImagesFolder;
extern NSString * MAPref_RefreshThreads;
extern NSString * MAPref_ActiveStyleName;
extern NSString * MAPref_StylesFolder;
extern NSString * MAPref_PluginsFolder;
extern NSString * MAPref_ScriptsFolder;
extern NSString * MAPref_FolderStates;
extern NSString * MAPref_BacktrackQueueSize;
extern NSString * MAPref_MarkReadInterval;
extern NSString * MAPref_OpenLinksInVienna;
extern NSString * MAPref_OpenLinksInBackground;
extern NSString * MAPref_MinimumFontSize;
extern NSString * MAPref_UseMinimumFontSize;
extern NSString * MAPref_AutoExpireDuration;
extern NSString * MAPref_DownloadsList;
extern NSString * MAPref_ShowFolderImages;
extern NSString * MAPref_UseJavaScript;
extern NSString * MAPref_CachedArticleGUID;
extern NSString * MAPref_ArticleSortDescriptors;
extern NSString * MAPref_FilterMode;
extern NSString * MAPref_LastRefreshDate;
extern NSString * MAPref_TabList;
extern NSString * MAPref_Layout;
extern NSString * MAPref_NewArticlesNotification;
extern NSString * MAPref_Profile_Path;
extern NSString * MAPref_EmptyTrashNotification;
extern NSString * MAPref_ShowAppInStatusBar;
extern NSString * MAPref_ShowStatusBar;
extern NSString * MAPref_ShowFilterBar;
extern NSString * MAPref_NewFolderUI;
extern NSString * MAPref_LastViennaVersionRun;
extern NSString * MAPref_HighestViennaVersionRun;
extern NSString * MAPref_ShouldSaveFeedSource;
extern NSString * MAPref_ShouldSaveFeedSourceBackup;
extern NSString * MAPref_SearchMethod;
extern NSString * MAPref_SyncGoogleReader;
extern NSString * MAPref_GoogleNewSubscription;
extern NSString * MAPref_ConcurrentDownloads;
extern NSInteger MA_Default_BackTrackQueueSize;
extern NSInteger MA_Default_RefreshThreads;
extern float MA_Default_Read_Interval;
extern NSInteger MA_Default_MinimumFontSize;
extern NSInteger MA_Default_AutoExpireDuration;
extern NSInteger MA_Default_Check_Frequency;
extern float MA_Default_Main_Window_Min_Width;
extern float MA_Default_Main_Window_Min_Height;
extern NSInteger MA_Default_ConcurrentDownloads;
extern NSString * MA_PBoardType_RSSItem;
extern NSString * MA_PBoardType_FolderList;
extern NSString * MA_PBoardType_RSSSource;
extern NSString * MA_PBoardType_url;
extern NSString * MA_PBoardType_urln;
// New articles notification method
#define MA_NewArticlesNotification_None 0
#define MA_NewArticlesNotification_Badge 1
#define MA_NewArticlesNotification_Bounce 2
// Filtering options
#define MA_Filter_All 0
#define MA_Filter_Unread 1
#define MA_Filter_LastRefresh 2
#define MA_Filter_Today 3
#define MA_Filter_Flagged 4
// Refresh folder options
#define MA_Refresh_RedrawList 0
#define MA_Refresh_ReapplyFilter 1
#define MA_Refresh_ReloadFromDatabase 2
#define MA_Refresh_SortAndRedraw 3
// Growl contexts
#define MA_GrowlContext_RefreshCompleted 1
#define MA_GrowlContext_DownloadCompleted 2
#define MA_GrowlContext_DownloadFailed 3
// View animation tags
#define MA_ViewTag_Filterbar 1
#define MA_ViewTag_Statusbar 2
const AEKeyword EditDataItemAppleEventClass;
const AEKeyword EditDataItemAppleEventID;
const AEKeyword DataItemTitle;
const AEKeyword DataItemDescription;
const AEKeyword DataItemSummary;
const AEKeyword DataItemLink;
const AEKeyword DataItemPermalink;
const AEKeyword DataItemSubject;
const AEKeyword DataItemCreator;
const AEKeyword DataItemCommentsURL;
const AEKeyword DataItemGUID;
const AEKeyword DataItemSourceName;
const AEKeyword DataItemSourceHomeURL;
const AEKeyword DataItemSourceFeedURL;
// Layout styles
#define MA_Layout_Report 1
#define MA_Layout_Condensed 2
#define MA_Layout_Unified 3
// Folders tree sort method
#define MA_FolderSort_Manual 0
#define MA_FolderSort_ByName 1
// Empty trash option on quitting
#define MA_EmptyTrash_None 0
#define MA_EmptyTrash_WithoutWarning 1
#define MA_EmptyTrash_WithWarning 2
// Sync types
typedef enum {
MA_Sync_Subscribe,
MA_Sync_Unsubscribe,
MA_Sync_Delete,
MA_Sync_Merge,
MA_Sync_Refresh,
MA_Sync_Refresh_All,
MA_Sync_NewFromGoogle,
MA_Sync_Mark_Read,
MA_Sync_Mark_Unread,
MA_Sync_Mark_Flagged,
MA_Sync_Mark_Unflagged
} SyncTypes;
//extern NSString * MA_Sync_FolderSeparator;