]> git.somenet.org - irc/pjirc-ng.git/blob - src/main/java/irc/IRCTextProvider.java
Pjirc 2.2.1 as available on the net, reformatted and made it compile.
[irc/pjirc-ng.git] / src / main / java / irc / IRCTextProvider.java
1 /*****************************************************/\r
2 /*          This java file is a part of the          */\r
3 /*                                                   */\r
4 /*           -  Plouf's Java IRC Client  -           */\r
5 /*                                                   */\r
6 /*   Copyright (C)  2002 - 2004 Philippe Detournay   */\r
7 /*                                                   */\r
8 /*         All contacts : theplouf@yahoo.com         */\r
9 /*                                                   */\r
10 /*  PJIRC is free software; you can redistribute     */\r
11 /*  it and/or modify it under the terms of the GNU   */\r
12 /*  General Public License as published by the       */\r
13 /*  Free Software Foundation; version 2 or later of  */\r
14 /*  the License.                                     */\r
15 /*                                                   */\r
16 /*  PJIRC is distributed in the hope that it will    */\r
17 /*  be useful, but WITHOUT ANY WARRANTY; without     */\r
18 /*  even the implied warranty of MERCHANTABILITY or  */\r
19 /*  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU   */\r
20 /*  General Public License for more details.         */\r
21 /*                                                   */\r
22 /*  You should have received a copy of the GNU       */\r
23 /*  General Public License along with PJIRC; if      */\r
24 /*  not, write to the Free Software Foundation,      */\r
25 /*  Inc., 59 Temple Place, Suite 330, Boston,        */\r
26 /*  MA  02111-1307  USA                              */\r
27 /*                                                   */\r
28 /*****************************************************/\r
29 \r
30 package irc;\r
31 \r
32 /**\r
33  * Text constants for the IRC engine.\r
34  */\r
35 public interface IRCTextProvider {\r
36         /**\r
37          * Not on a channel\r
38          */\r
39         public static final int INTERPRETOR_NOT_ON_CHANNEL = 0x001;\r
40         /**\r
41          * %1 : unknown dcc subcommand\r
42          */\r
43         public static final int INTERPRETOR_UNKNOWN_DCC = 0x002;\r
44         /**\r
45          * %1 : insufficient parameters\r
46          */\r
47         public static final int INTERPRETOR_INSUFFICIENT_PARAMETERS = 0x003;\r
48         /**\r
49          * %1 : unable to perform in current context\r
50          */\r
51         public static final int INTERPRETOR_BAD_CONTEXT = 0x004;\r
52         /**\r
53          * Cannot send CTCP codes via DCC Chat\r
54          */\r
55         public static final int INTERPRETOR_CANNOT_CTCP_IN_DCCCHAT = 0x005;\r
56         /**\r
57          * %1 : unknown config subcommand\r
58          */\r
59         public static final int INTERPRETOR_UNKNOWN_CONFIG = 0x006;\r
60         /**\r
61          * Timestamp enabled\r
62          */\r
63         public static final int INTERPRETOR_TIMESTAMP_ON = 0x007;\r
64         /**\r
65          * Timestamp disabled\r
66          */\r
67         public static final int INTERPRETOR_TIMESTAMP_OFF = 0x008;\r
68         /**\r
69          * Graphical smileys enabled\r
70          */\r
71         public static final int INTERPRETOR_SMILEYS_ON = 0x009;\r
72         /**\r
73          * Graphical smileys disabled\r
74          */\r
75         public static final int INTERPRETOR_SMILEYS_OFF = 0x00A;\r
76         /**\r
77          * Now ignoring %1\r
78          */\r
79         public static final int INTERPRETOR_IGNORE_ON = 0x00B;\r
80         /**\r
81          * Not ignoring %1 anymore\r
82          */\r
83         public static final int INTERPRETOR_IGNORE_OFF = 0x00C;\r
84         /**\r
85          * Multiserver support is disabled\r
86          */\r
87         public static final int INTERPRETOR_MULTISERVER_DISABLED = 0x00D;\r
88 \r
89         /**\r
90          * Waiting for incoming connection...\r
91          */\r
92         public static final int DCC_WAITING_INCOMING = 0x101;\r
93         /**\r
94          * Unable to open connection : %1\r
95          */\r
96         public static final int DCC_UNABLE_TO_OPEN_CONNECTION = 0x102;\r
97         /**\r
98          * DCC Connection established\r
99          */\r
100         public static final int DCC_CONNECTION_ESTABLISHED = 0x103;\r
101         /**\r
102          * Connection closed\r
103          */\r
104         public static final int DCC_CONNECTION_CLOSED = 0x104;\r
105         /**\r
106          * Error : %1\r
107          */\r
108         public static final int DCC_ERROR = 0x105;\r
109         /**\r
110          * %1 : unable to send to %2\r
111          */\r
112         public static final int DCC_UNABLE_TO_SEND_TO = 0x106;\r
113         /**\r
114          * Unable to execute command from current context\r
115          */\r
116         public static final int DCC_BAD_CONTEXT = 0x107;\r
117         /**\r
118          * Not connected\r
119          */\r
120         public static final int DCC_NOT_CONNECTED = 0x108;\r
121         /**\r
122          * Unable to initialize passive mode\r
123          */\r
124         public static final int DCC_UNABLE_PASSIVE_MODE = 0x109;\r
125         /**\r
126          * [%1 PING reply] : %2 seconds\r
127          */\r
128         public static final int CTCP_PING_REPLY = 0x10A;\r
129         /**\r
130          * Stream closed\r
131          */\r
132         public static final int DCC_STREAM_CLOSED = 0x10B;\r
133 \r
134         /**\r
135          * Failed to launch Ident server : %1\r
136          */\r
137         public static final int IDENT_FAILED_LAUNCH = 0x201;\r
138         /**\r
139          * Ident request from %1\r
140          */\r
141         public static final int IDENT_REQUEST = 0x202;\r
142         /**\r
143          * Error occurred\r
144          */\r
145         public static final int IDENT_ERROR = 0x203;\r
146         /**\r
147    * \r
148    */\r
149         public static final int IDENT_REPLIED = 0x204;\r
150         /**\r
151          * default user\r
152          */\r
153         public static final int IDENT_DEFAULT_USER = 0x205;\r
154         /**\r
155          * No user for request\r
156          */\r
157         public static final int IDENT_NO_USER = 0x206;\r
158         /**\r
159          * Ident server running on port %1\r
160          */\r
161         public static final int IDENT_RUNNING_ON_PORT = 0x207;\r
162         /**\r
163          * Ident server leaving : %1\r
164          */\r
165         public static final int IDENT_LEAVING = 0x208;\r
166         /**\r
167          * none\r
168          */\r
169         public static final int IDENT_NONE = 0x209;\r
170         /**\r
171          * unknown\r
172          */\r
173         public static final int IDENT_UNKNOWN = 0x20A;\r
174         /**\r
175          * Undefined result\r
176          */\r
177         public static final int IDENT_UNDEFINED = 0x20B;\r
178 \r
179         /**\r
180          * Save file as\r
181          */\r
182         public static final int FILE_SAVEAS = 0x301;\r
183 \r
184         /**\r
185          * About\r
186          */\r
187         public static final int ABOUT_ABOUT = 0x401;\r
188         /**\r
189          * Programming\r
190          */\r
191         public static final int ABOUT_PROGRAMMING = 0x402;\r
192         /**\r
193          * Design\r
194          */\r
195         public static final int ABOUT_DESIGN = 0x403;\r
196         /**\r
197          * Thanks to\r
198          */\r
199         public static final int ABOUT_THANKS = 0x404;\r
200         /**\r
201          * for support, ideas and testing\r
202          */\r
203         public static final int ABOUT_SUPPORT = 0x405;\r
204         /**\r
205          * This software is licensed under the GPL license\r
206          */\r
207         public static final int ABOUT_GPL = 0x406;\r
208 \r
209         /**\r
210          * Unable to connect : %1\r
211          */\r
212         public static final int SERVER_UNABLE_TO_CONNECT = 0x501;\r
213         /**\r
214          * Unable to connect to %1 : currently trying to connect to %2\r
215          */\r
216         public static final int SERVER_UNABLE_TO_CONNECT_STILL = 0x502;\r
217         /**\r
218          * Disconnecting from %1\r
219          */\r
220         public static final int SERVER_DISCONNECTING = 0x503;\r
221         /**\r
222          * Connecting...\r
223          */\r
224         public static final int SERVER_CONNECTING = 0x504;\r
225         /**\r
226          * Not connected\r
227          */\r
228         public static final int SERVER_NOT_CONNECTED = 0x505;\r
229         /**\r
230          * Logging in...\r
231          */\r
232         public static final int SERVER_LOGIN = 0x506;\r
233         /**\r
234          * Disconnected from %1\r
235          */\r
236         public static final int SERVER_DISCONNECTED = 0x507;\r
237         /**\r
238          * Error : %1\r
239          */\r
240         public static final int SERVER_ERROR = 0x508;\r
241         /**\r
242          * Attempting to rejoin channel %1...\r
243          */\r
244         public static final int SERVER_AUTOREJOIN_ATTEMPT = 0x0509;\r
245         /**\r
246          * Unable to rejoin channel %1\r
247          */\r
248         public static final int SERVER_AUTOREJOIN_FAILED = 0x050a;\r
249 \r
250         /**\r
251          * Change nick to\r
252          */\r
253         public static final int GUI_CHANGE_NICK = 0x71A;\r
254         /**\r
255          * Copy text\r
256          */\r
257         public static final int GUI_COPY_WINDOW = 0x71B;\r
258         /**\r
259          * Warning\r
260          */\r
261         public static final int GUI_DCC_CHAT_WARNING_TITLE = 0x71C;\r
262         /**\r
263          * Do you want to accept DCC chat from %1?\r
264          */\r
265         public static final int GUI_DCC_CHAT_WARNING_TEXT = 0x71D;\r
266         /**\r
267          * Boy, %1 years old, %2\r
268          */\r
269         public static final int ASL_MALE = 0x801;\r
270         /**\r
271          * Girl, %1 years old, %2\r
272          */\r
273         public static final int ASL_FEMALE = 0x802;\r
274         /**\r
275          * %1 years old from %2\r
276          */\r
277         public static final int ASL_UNKNOWN = 0x803;\r
278 \r
279         /**\r
280          * %1 has been idle for %2\r
281          */\r
282         public static final int REPLY_IDLE = 0x901;\r
283         /**\r
284          * %1 connected on %2\r
285          */\r
286         public static final int REPLY_SIGNON = 0x902;\r
287 }\r