2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $TOG: options_stubs.C /main/9 1999/03/26 16:56:17 mgreess $ */
24 /*** DTB_USER_CODE_START vvv Add file header below vvv ***/
25 /*** DTB_USER_CODE_END ^^^ Add file header above ^^^ ***/
28 * File: options_stubs.c
29 * Contains: Module callbacks and connection functions
31 * This file was generated by dtcodegen, from module options
33 * Any text may be added between the DTB_USER_CODE_START and
34 * DTB_USER_CODE_END comments (even non-C code). Descriptive comments
35 * are provided only as an aid.
37 * ** EDIT ONLY WITHIN SECTIONS MARKED WITH DTB_USER_CODE COMMENTS. **
38 * ** ALL OTHER MODIFICATIONS WILL BE OVERWRITTEN. DO NOT MODIFY OR **
39 * ** DELETE THE GENERATED COMMENTS! **
44 #include "dtb_utils.h"
45 #include "dtmailopts.h"
46 #include "options_ui.h"
49 /**************************************************************************
50 *** DTB_USER_CODE_START
52 *** All necessary header files have been included.
54 *** Add include files, types, macros, externs, and user functions here.
57 #include <DtMail/OptCmd.h>
59 /*** DTB_USER_CODE_END
61 *** End of user code section
63 **************************************************************************/
74 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
75 OptCmd *cmd_ptr = NULL;
77 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
79 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
82 XmNuserData, &cmd_ptr,
87 cmd_ptr->update_panes();
91 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
102 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
103 OptCmd *cmd_ptr = NULL;
105 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
107 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
108 XtVaGetValues(widget,
109 XmNuserData, &cmd_ptr,
114 if (! cmd_ptr->optionsAreValid()) return;
115 if (! cmd_ptr->doFileLockingCheck()) return;
116 cmd_ptr->update_source();
117 cmd_ptr->doVacationCheck();
121 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
132 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
134 OptCmd *cmd_ptr = NULL;
136 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
138 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
139 XtVaGetValues(widget,
140 XmNuserData, &cmd_ptr,
145 if (! cmd_ptr->optionsAreValid()) return;
146 if (! cmd_ptr->doFileLockingCheck()) return;
147 cmd_ptr->update_source();
148 cmd_ptr->doVacationCheck();
151 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
162 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
163 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
165 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
166 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
177 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
178 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
180 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
181 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
192 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
193 OptCmd *cmd_ptr = NULL;
195 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
197 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
199 XtVaGetValues(widget,
200 XmNuserData, &cmd_ptr,
205 cmd_ptr->setVacationChanged();
208 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
219 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
220 OptCmd *cmd_ptr = NULL;
222 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
224 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
226 XtVaGetValues(widget,
227 XmNuserData, &cmd_ptr,
232 cmd_ptr->setVacationChanged();
235 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
246 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
247 OptCmd *cmd_ptr = NULL;
249 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
251 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
253 XtVaGetValues(widget,
254 XmNuserData, &cmd_ptr,
259 cmd_ptr->update_panes();
263 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
274 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
275 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
277 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
278 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
289 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
290 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
292 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
293 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
304 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
305 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
307 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
308 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
319 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
320 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
322 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
323 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
328 message_header_listCB(
330 XtPointer clientData,
334 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
335 DtbOptionsDialogInfo instance = (DtbOptionsDialogInfo)clientData;
337 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
339 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
341 options_set_category_pane(instance->msg_header_pane);
343 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
350 XtPointer clientData,
354 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
355 DtbOptionsDialogInfo instance = (DtbOptionsDialogInfo)clientData;
357 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
359 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
361 options_set_category_pane(instance->msg_view_pane);
363 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
370 XtPointer clientData,
374 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
375 DtbOptionsDialogInfo instance = (DtbOptionsDialogInfo)clientData;
377 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
379 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
381 options_set_category_pane(instance->compose_win_pane);
383 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
390 XtPointer clientData,
394 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
395 DtbOptionsDialogInfo instance = (DtbOptionsDialogInfo)clientData;
397 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
399 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
401 options_set_category_pane(instance->msg_filing_pane);
403 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
410 XtPointer clientData,
414 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
415 DtbOptionsDialogInfo instance = (DtbOptionsDialogInfo)clientData;
417 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
419 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
421 options_set_category_pane(instance->vacation_pane);
423 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
430 XtPointer clientData,
434 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
435 DtbOptionsDialogInfo instance = (DtbOptionsDialogInfo)clientData;
437 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
439 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
441 options_set_category_pane(instance->templates_pane);
443 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
450 XtPointer clientData,
454 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
455 DtbOptionsDialogInfo instance = (DtbOptionsDialogInfo)clientData;
457 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
459 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
461 options_set_category_pane(instance->aliases_pane);
463 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
470 XtPointer clientData,
474 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
475 DtbOptionsDialogInfo instance = (DtbOptionsDialogInfo)clientData;
477 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
479 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
481 options_set_category_pane(instance->advanced_pane);
483 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
491 XtPointer clientData,
495 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
496 DtbOptionsDialogInfo instance = (DtbOptionsDialogInfo)clientData;
498 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
500 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
502 options_set_category_pane(instance->printing_pane);
504 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
511 XtPointer clientData,
515 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
516 DtbOptionsDialogInfo instance = (DtbOptionsDialogInfo)clientData;
518 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
520 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
522 options_set_category_pane(instance->mailretrieval_pane);
524 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
529 /**************************************************************************
530 *** DTB_USER_CODE_START
532 *** All automatically-generated data and functions have been defined.
534 *** Add new functions here, or at the top of the file.
537 /*** DTB_USER_CODE_END
539 *** End of user code section
541 **************************************************************************/