OSDN Git Service

ウィンドウ上部の「その他機能」メニューに「投稿設定」を追加
[opentween/open-tween.git] / OpenTween / ApplicationSettings.cs
1 // OpenTween - Client of Twitter
2 // Copyright (c) 2012      kim_upsilon (@kim_upsilon) <https://upsilo.net/~upsilon/>
3 // All rights reserved.
4 // 
5 // This file is part of OpenTween.
6 // 
7 // This program is free software; you can redistribute it and/or modify it
8 // under the terms of the GNU General public License as published by the Free
9 // Software Foundation; either version 3 of the License, or (at your option)
10 // any later version.
11 // 
12 // This program is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General public License
15 // for more details.
16 // 
17 // You should have received a copy of the GNU General public License along
18 // with this program. If not, see <http://www.gnu.org/licenses/>, or write to
19 // the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
20 // Boston, MA 02110-1301, USA.
21
22 using System;
23 using System.Collections.Generic;
24 using System.Linq;
25 using System.Text;
26
27 namespace OpenTween
28 {
29     /// <summary>
30     /// アプリケーション固有の情報を格納します
31     /// </summary>
32     /// <remarks>
33     /// OpenTween の派生版を作る方法は http://sourceforge.jp/projects/opentween/wiki/HowToFork を参照して下さい。
34     /// </remarks>
35     internal static class ApplicationSettings
36     {
37         //=====================================================================
38         // フィードバック送信先
39         // 異常終了時などにエラーログ等とともに表示されます。
40         
41         /// <summary>
42         /// フィードバック送信先 (メール)
43         /// </summary>
44         public const string FeedbackEmailAddress = "kim.upsilon@bucyou.net";
45
46         /// <summary>
47         /// フィードバック送信先 (Twitter)
48         /// </summary>
49         public const string FeedbackTwitterName = "@OpenTween";
50
51         /// <summary>
52         /// FeedbackTwitterName のユーザー宛にエラーレポートの DM を送信可能であるか
53         /// </summary>
54         /// <remarks>
55         /// エラーレポートを DM で受け付ける場合は、フォロー外からの DM を受け付ける設定にする必要があります
56         /// </remarks>
57         public static readonly bool AllowSendErrorReportByDM = true;
58
59         //=====================================================================
60         // Web サイト
61
62         /// <summary>
63         /// 「ヘルプ」メニューの「(アプリ名) ウェブサイト」クリック時に外部ブラウザで表示する URL
64         /// </summary>
65         public const string WebsiteUrl = "http://sourceforge.jp/projects/opentween/wiki/FrontPage";
66
67         /// <summary>
68         /// 「ヘルプ」メニューの「ショートカットキー一覧」クリック時に外部ブラウザで表示する URL
69         /// </summary>
70         /// <remarks>
71         /// Tween の Wiki ページのコンテンツはプロプライエタリなため転載不可
72         /// </remarks>
73         public const string ShortcutKeyUrl = "http://sourceforge.jp/projects/tween/wiki/%E3%82%B7%E3%83%A7%E3%83%BC%E3%83%88%E3%82%AB%E3%83%83%E3%83%88%E3%82%AD%E3%83%BC";
74
75         //=====================================================================
76         // アップデートチェック関連
77
78         /// <summary>
79         /// 最新バージョンの情報を取得するためのURL
80         /// </summary>
81         /// <remarks>
82         /// version.txt のフォーマットについては http://sourceforge.jp/projects/opentween/wiki/VersionTxt を参照。
83         /// 派生プロジェクトなどでこの機能を無効にする場合は null をセットして下さい。
84         /// </remarks>
85         public static readonly string VersionInfoUrl = "http://www.opentween.org/status/version.txt";
86
87         //=====================================================================
88         // Twitter
89         // https://dev.twitter.com/ から取得できます。
90
91         /// <summary>
92         /// Twitter コンシューマーキー
93         /// </summary>
94         public const string TwitterConsumerKey = "zIoJPq3FsuViPTAs89FetDHYz";
95         public const string TwitterConsumerSecret = "prTAs2fqLv12nHxlMoLQZT8AkpZt0yYb8A7ktGS2VYeRj0TddS";
96
97         //=====================================================================
98         // yfrog
99         // http://stream.imageshack.us/api/ から取得できます。
100
101         /// <summary>
102         /// yfrog APIキー
103         /// </summary>
104         public const string YfrogApiKey = "HIDP42ZO6314ee2218e2995662bad5ae320c32f1";
105
106         //=====================================================================
107         // Foursquare
108         // https://developer.foursquare.com/ から取得できます。
109
110         /// <summary>
111         /// Foursquare Client Id
112         /// </summary>
113         public const string FoursquareClientId = "5H3K5YQPT55DNQUFEOAJFNJA5D01ZJGO2ITEAJ3ASRIDONUB";
114
115         /// <summary>
116         /// Foursquare Client Secret
117         /// </summary>
118         public const string FoursquareClientSecret = "JFRHP1L451M3AEPF11UZLTIIUZCZTZRVHVOWB5TQ0AJOVPBB";
119
120         //=====================================================================
121         // bit.ly
122         // https://bitly.com/a/oauth_apps から取得できます。
123
124         /// <summary>
125         /// bit.ly Client ID
126         /// </summary>
127         public const string BitlyClientId = "ddab8ec50f4459c315cbde9d923cf490923b6d2e";
128
129         /// <summary>
130         /// bit.ly Client Secret
131         /// </summary>
132         public const string BitlyClientSecret = "485c9d03dd264f8eeb4fc65d38e2762c4420cee7";
133
134         //=====================================================================
135         // TINAMI
136         // http://www.tinami.com/api/ から取得できます。
137
138         /// <summary>
139         /// TINAMI APIキー
140         /// </summary>
141         public const string TINAMIApiKey = "4f48bb4858d36";
142
143         //=====================================================================
144         // Microsoft Translator API (Cognitive Service)
145         // https://www.microsoft.com/ja-jp/translator/getstarted.aspx から取得できます。
146
147         /// <summary>
148         /// Translator Text API Subscription Key
149         /// </summary>
150         public readonly static string TranslatorSubscriptionKey = "6c47d2ea341148bf856bdbfafd429db7";
151
152         //=====================================================================
153         // Imgur
154         // https://api.imgur.com/oauth2/addclient から取得できます
155
156         /// <summary>
157         /// Imgur Client ID
158         /// </summary>
159         public readonly static string ImgurClientID = "a5fff36fb83568c";
160
161         /// <summary>
162         /// Imgur Client Secret
163         /// </summary>
164         public readonly static string ImgurClientSecret = "af5d668a9aa83b34a8f0f735e12073edafbc9a5d";
165
166         //=====================================================================
167         // Mobypicture
168         // http://www.mobypicture.com/apps/my から取得できます
169
170         /// <summary>
171         /// Mobypicture Developer Key
172         /// </summary>
173         public readonly static string MobypictureKey = "quPWTX0UrPHxqdH7";
174
175         //=====================================================================
176         // Tumblr
177         // https://www.tumblr.com/oauth/apps から取得できます
178
179         /// <summary>
180         /// Tumblr OAuth Consumer Key
181         /// </summary>
182         public readonly static string TumblrConsumerKey = "Nsk62V6wMIqVNbiGyN0g3aDGBlgU7Fcb9GJ8Se0z2MUDHAY15l";
183     }
184 }