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 librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /*%% (c) Copyright 1993, 1994 Hewlett-Packard Company */
24 /*%% (c) Copyright 1993, 1994 International Business Machines Corp. */
25 /*%% (c) Copyright 1993, 1994 Sun Microsystems, Inc. */
26 /*%% (c) Copyright 1993, 1994 Novell, Inc. */
27 /*%% $XConsortium: mp_msg_context.h /main/3 1995/10/23 10:25:23 rswiston $ */
30 * @(#)mp_msg_context.h 1.6 30 Jul 1993
32 * Tool Talk Message Passer (MP) - mp_msg_context.h
34 * Copyright (c) 1992 by Sun Microsystems, Inc.
36 * _Tt_msg_context is a context slot in a message.
39 #ifndef _MP_MSG_CONTEXT_H
40 #define _MP_MSG_CONTEXT_H
42 #include <mp/mp_context.h>
43 #include <mp/mp_msg_context_utils.h>
44 #include <mp/mp_arg_utils.h>
47 class _Tt_msg_context : public _Tt_context {
50 virtual ~_Tt_msg_context();
53 const _Tt_string &value
58 int isEnvEntry() const;
59 _Tt_string enVarName() const;
60 _Tt_string stringRep() const;
66 const _Tt_ostream &os,
73 const _Tt_arg &value() const {return *_value;}
79 #endif /* _MP_MSG_CONTEXT_H */