OSDN Git Service

ヘルプページ・Google検索・Wikipedia等をHTTPSに対応したURLに変更
[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 using System.Windows.Forms;
27
28 namespace OpenTween
29 {
30     /// <summary>
31     /// アプリケーション固有の情報を格納します
32     /// </summary>
33     /// <remarks>
34     /// OpenTween の派生版を作る方法は http://sourceforge.jp/projects/opentween/wiki/HowToFork を参照して下さい。
35     /// </remarks>
36     internal static class ApplicationSettings
37     {
38         //=====================================================================
39         // アプリケーション情報
40
41         /// <summary>
42         /// アプリケーション名
43         /// </summary>
44         /// <remarks>
45         /// 派生版のアプリケーションでは名前にマルチバイト文字を含む場合があります。
46         /// ファイル名など英数字のみを含めたい用途ではこのプロパティではなく <see cref="AssemblyName"/> を使用します
47         /// </remarks>
48         public static string ApplicationName => Application.ProductName;
49
50         /// <summary>
51         /// アセンブリ名
52         /// </summary>
53         public static string AssemblyName => MyCommon.GetAssemblyName();
54
55         //=====================================================================
56         // フィードバック送信先
57         // 異常終了時などにエラーログ等とともに表示されます。
58         
59         /// <summary>
60         /// フィードバック送信先 (メール)
61         /// </summary>
62         public const string FeedbackEmailAddress = "kim.upsilon@bucyou.net";
63
64         /// <summary>
65         /// フィードバック送信先 (Twitter)
66         /// </summary>
67         public const string FeedbackTwitterName = "@OpenTween";
68
69         /// <summary>
70         /// FeedbackTwitterName のユーザー宛にエラーレポートの DM を送信可能であるか
71         /// </summary>
72         /// <remarks>
73         /// エラーレポートを DM で受け付ける場合は、フォロー外からの DM を受け付ける設定にする必要があります
74         /// </remarks>
75         public static readonly bool AllowSendErrorReportByDM = true;
76
77         //=====================================================================
78         // Web サイト
79
80         /// <summary>
81         /// 「ヘルプ」メニューの「(アプリ名) ウェブサイト」クリック時に外部ブラウザで表示する URL
82         /// </summary>
83         public const string WebsiteUrl = "https://www.opentween.org/";
84
85         /// <summary>
86         /// 「ヘルプ」メニューの「ショートカットキー一覧」クリック時に外部ブラウザで表示する URL
87         /// </summary>
88         /// <remarks>
89         /// Tween の Wiki ページのコンテンツはプロプライエタリなため転載不可
90         /// </remarks>
91         public const string ShortcutKeyUrl = "https://ja.osdn.net/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";
92
93         //=====================================================================
94         // アップデートチェック関連
95
96         /// <summary>
97         /// 最新バージョンの情報を取得するためのURL
98         /// </summary>
99         /// <remarks>
100         /// version.txt のフォーマットについては http://sourceforge.jp/projects/opentween/wiki/VersionTxt を参照。
101         /// 派生プロジェクトなどでこの機能を無効にする場合は null をセットして下さい。
102         /// </remarks>
103         public static readonly string VersionInfoUrl = "https://www.opentween.org/status/version.txt";
104
105         //=====================================================================
106         // Twitter
107         // https://dev.twitter.com/ から取得できます。
108
109         /// <summary>
110         /// Twitter コンシューマーキー
111         /// </summary>
112         public const string TwitterConsumerKey = "zIoJPq3FsuViPTAs89FetDHYz";
113         public const string TwitterConsumerSecret = "prTAs2fqLv12nHxlMoLQZT8AkpZt0yYb8A7ktGS2VYeRj0TddS";
114
115         //=====================================================================
116         // Foursquare
117         // https://developer.foursquare.com/ から取得できます。
118
119         /// <summary>
120         /// Foursquare Client Id
121         /// </summary>
122         public const string FoursquareClientId = "5H3K5YQPT55DNQUFEOAJFNJA5D01ZJGO2ITEAJ3ASRIDONUB";
123
124         /// <summary>
125         /// Foursquare Client Secret
126         /// </summary>
127         public const string FoursquareClientSecret = "JFRHP1L451M3AEPF11UZLTIIUZCZTZRVHVOWB5TQ0AJOVPBB";
128
129         //=====================================================================
130         // bit.ly
131         // https://bitly.com/a/oauth_apps から取得できます。
132
133         /// <summary>
134         /// bit.ly Client ID
135         /// </summary>
136         public const string BitlyClientId = "ddab8ec50f4459c315cbde9d923cf490923b6d2e";
137
138         /// <summary>
139         /// bit.ly Client Secret
140         /// </summary>
141         public const string BitlyClientSecret = "485c9d03dd264f8eeb4fc65d38e2762c4420cee7";
142
143         //=====================================================================
144         // TINAMI
145         // http://www.tinami.com/api/ から取得できます。
146
147         /// <summary>
148         /// TINAMI APIキー
149         /// </summary>
150         public const string TINAMIApiKey = "4f48bb4858d36";
151
152         //=====================================================================
153         // Microsoft Translator API (Cognitive Service)
154         // https://www.microsoft.com/ja-jp/translator/getstarted.aspx から取得できます。
155
156         /// <summary>
157         /// Translator Text API Subscription Key
158         /// </summary>
159         public readonly static string TranslatorSubscriptionKey = "6c47d2ea341148bf856bdbfafd429db7";
160
161         //=====================================================================
162         // Imgur
163         // https://api.imgur.com/oauth2/addclient から取得できます
164
165         /// <summary>
166         /// Imgur Client ID
167         /// </summary>
168         public readonly static string ImgurClientID = "a5fff36fb83568c";
169
170         /// <summary>
171         /// Imgur Client Secret
172         /// </summary>
173         public readonly static string ImgurClientSecret = "af5d668a9aa83b34a8f0f735e12073edafbc9a5d";
174
175         //=====================================================================
176         // Mobypicture
177         // http://www.mobypicture.com/apps/my から取得できます
178
179         /// <summary>
180         /// Mobypicture Developer Key
181         /// </summary>
182         public readonly static string MobypictureKey = "quPWTX0UrPHxqdH7";
183
184         //=====================================================================
185         // Tumblr
186         // https://www.tumblr.com/oauth/apps から取得できます
187
188         /// <summary>
189         /// Tumblr OAuth Consumer Key
190         /// </summary>
191         public readonly static string TumblrConsumerKey = "Nsk62V6wMIqVNbiGyN0g3aDGBlgU7Fcb9GJ8Se0z2MUDHAY15l";
192     }
193 }