4 * $XConsortium: ComposeCmds.hh /main/3 1995/11/06 16:05:11 rswiston $
6 * RESTRICTED CONFIDENTIAL INFORMATION:
8 * The information in this document is subject to special
9 * restrictions in a confidential disclosure agreement between
10 * HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
11 * document outside HP, IBM, Sun, USL, SCO, or Univel without
12 * Sun's specific written approval. This document and all copies
13 * and derivative works thereof must be returned or destroyed at
16 * Copyright 1993 Sun Microsystems, Inc. All rights reserved.
21 #ifndef COMPOSECMDS_HH
22 #define COMPOSECMDS_HH
24 class ComposeFamily : public RoamCmd {
26 RoamMenuWindow * _parent;
29 ComposeFamily(char * name, char *label, int active, RoamMenuWindow *);
30 #ifndef CAN_INLINE_VIRTUALS
31 ~ComposeFamily( void );
32 #endif /* ! CAN_INLINE_VIRTUALS */
33 void Display_entire_msg(DtMailMessageHandle, SendMsgDialog *, char *);
34 void appendSignature(SendMsgDialog *);
35 char * valueToAddrString(DtMailValueSeq & value);
38 class ComposeCmd : public ComposeFamily {
40 RoamMenuWindow * _parent;
44 ComposeCmd( char *, char *, int, RoamMenuWindow * );
45 virtual const char *const className () { return "ComposeCmd"; }
48 class ForwardCmd : public ComposeFamily {
50 RoamMenuWindow *_parent;
54 ForwardCmd( char *, char *, int, RoamMenuWindow *, int );
55 virtual const char *const className () { return "ForwardCmd"; }
58 class ReplyAllCmd : public ComposeFamily {
60 RoamMenuWindow *_parent;
64 ReplyAllCmd( char *, char *, int, RoamMenuWindow *, int );
65 virtual const char *const className () { return "ReplyAllCmd"; }
68 class ReplyCmd : public ComposeFamily {
70 RoamMenuWindow *_parent;
74 ReplyCmd( char *, char *, int, RoamMenuWindow *, int );
75 virtual const char *const className () { return "ReplyCmd"; }
78 class TemplateCmd : public NoUndoCmd {
80 SendMsgDialog *_compose;
85 TemplateCmd(char * name,
90 virtual ~TemplateCmd();
91 virtual const char *const className() { return "TemplateCmd"; }
94 class HideShowCmd : public NoUndoCmd {
96 SendMsgDialog *_compose;
100 virtual void doit(void);
101 HideShowCmd(char * name,
106 virtual ~HideShowCmd(void);
107 virtual const char *const className() { return "HideShowCmd"; }